Skip to content

Commit

Permalink
Update main_simplestack.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDoroftei authored Mar 16, 2024
1 parent 41a717a commit 8750520
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/main_simplestack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:

jobs:
build:
build_and_deploy:
runs-on: ubuntu-latest

steps:
Expand All @@ -29,31 +29,6 @@ jobs:
npm install
npm run build
- 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: 'Deploy to Azure Web App'
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
Expand Down

0 comments on commit 8750520

Please sign in to comment.