Skip to content

Commit d282312

Browse files
Merge pull request #46 from DSACMS/natalia/deployment
Fix for Deployment GH Action
2 parents a852b6f + a36b912 commit d282312

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/cicd.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ on:
99
- cron: "15 5 * * 0"
1010
workflow_dispatch:
1111

12-
defaults:
13-
run:
14-
working-directory: ./app
15-
1612
permissions:
1713
contents: read
1814
pages: write
@@ -23,10 +19,12 @@ concurrency:
2319
cancel-in-progress: false
2420

2521
jobs:
26-
2722
deploy:
2823
runs-on: ubuntu-latest
2924
if: github.ref == 'refs/heads/main'
25+
defaults:
26+
run:
27+
working-directory: ./app
3028
steps:
3129
- uses: actions/checkout@v3
3230

@@ -54,7 +52,7 @@ jobs:
5452
- name: Upload artifact
5553
uses: actions/upload-pages-artifact@v1
5654
with:
57-
path: ./dist
55+
path: app/dist
5856

5957
- name: Deploy to GitHub pages
6058
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)