Skip to content

Commit 269e467

Browse files
committed
Update pipeline to publish to azure static webs.
1 parent 7d25ca7 commit 269e467

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/deployment.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,22 @@ jobs:
3030
- name: logout
3131
run: |
3232
az logout
33-
if: always()
33+
if: always()
34+
pledger-web:
35+
needs: build
36+
runs-on: ubuntu-latest
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v4
40+
- name: Download build artifact
41+
uses: actions/download-artifact@v4
42+
with:
43+
name: pledger-web
44+
- name: Build And Deploy
45+
uses: Azure/static-web-apps-deploy@v1
46+
with:
47+
azure_static_web_apps_api_token: ${{ secrets.PLEDGER_WEB_DEPLOY_TOKEN }}
48+
repo_token: ${{ secrets.GITHUB_TOKEN }}
49+
app_location: "/"
50+
output_location: "public"
51+
action: "upload"

0 commit comments

Comments
 (0)