Skip to content

Commit

Permalink
re-add tar/untar commands
Browse files Browse the repository at this point in the history
  • Loading branch information
hallihan committed Jul 25, 2023
1 parent 208a0c3 commit 2cd5c14
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/master_nc300cyberdemo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,14 @@ jobs:
npm run build --if-present
npm run test --if-present
- name: 'Tar files'
run: tar -cvf node-app.tar .

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v2
with:
name: node-app
path: .
path: ./node-app.tar

deploy:
runs-on: ubuntu-latest
Expand All @@ -46,6 +49,9 @@ jobs:
with:
name: node-app

- name: 'Untar files'
run: tar -xvf node-app.tar

- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
Expand Down

0 comments on commit 2cd5c14

Please sign in to comment.