Skip to content

Commit 561d9d0

Browse files
committed
Updated actions files.
1 parent 2fe89b1 commit 561d9d0

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/main_chippinapi.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,21 @@ jobs:
2323

2424
- name: npm install, build, and test
2525
run: |
26-
npm install
27-
npm run build --if-present
28-
npm run test --if-present
26+
cd backend
27+
yarn
28+
yarn build
29+
yarn start2
2930
3031
- name: Zip artifact for deployment
31-
run: zip release.zip ./* -r
32+
run: |
33+
cd backend
34+
zip release.zip ./* -r
3235
3336
- name: Upload artifact for deployment job
3437
uses: actions/upload-artifact@v3
3538
with:
3639
name: node-app
37-
path: release.zip
40+
path: backend/release.zip
3841

3942
deploy:
4043
runs-on: ubuntu-latest
@@ -58,5 +61,5 @@ jobs:
5861
with:
5962
app-name: 'chippinAPI'
6063
slot-name: 'Production'
61-
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_EB9E5048C2174EC7935E6E42E73C34B5 }}
62-
package: .
64+
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_1003E0ABF28E4A458E22863C4C8193E2 }}
65+
package: .

0 commit comments

Comments
 (0)