Skip to content

Commit

Permalink
Update prod workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
VatMart authored Aug 8, 2024
1 parent afb0b3b commit 348b1e4
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/azure-static-web-apps-nice-coast-0c8a1d703.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Azure Static Web Apps CI/CD
name: Azure Static Web Apps CI/CD Prod

on:
push:
Expand All @@ -19,6 +19,21 @@ jobs:
with:
submodules: true
lfs: false

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20.11.1'

# Install project dependencies
- name: Install dependencies
run: npm install

# Build the Angular app
- name: Build Angular app
run: npm run build


- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
Expand All @@ -32,6 +47,8 @@ jobs:
api_location: "" # Api source code path - optional
output_location: "dist/graph-web/browser" # Built app content directory - optional
###### End of Repository/Build Configurations ######
env:
NODE_VERSION: '20.11.1'

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
Expand Down

0 comments on commit 348b1e4

Please sign in to comment.