Skip to content

Commit

Permalink
Update master_todomatic-todo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
venkyvajrala committed Dec 5, 2023
1 parent 2b6d116 commit b999aeb
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/master_todomatic-todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,36 +27,6 @@ jobs:
npm run build --if-present
npm run test --if-present
- name: Zip artifact for deployment
run: zip release.zip ./* -r

- name: Upload artifact for deployment job
uses: actions/upload-artifact@v3
with:
name: node-app
path: release.zip

deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}

steps:
- name: Download artifact from build job
uses: actions/download-artifact@v3
with:
name: node-app

- name: Unzip artifact for deployment
run: unzip release.zip

- name: list dirs and remove zip file
run: |
ls -latr
rm release.zip
- name: 'Deploy to Azure Web App'
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
Expand Down

0 comments on commit b999aeb

Please sign in to comment.