Skip to content

Commit 73031fb

Browse files
committed
fix
1 parent 0d208be commit 73031fb

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: deploy
22

33
on:
44
push:
5+
6+
concurrency:
57
group: ${{ github.workflow }}-${{ github.ref }}
68
cancel-in-progress: true
79

@@ -25,10 +27,24 @@ jobs:
2527
- name: Build
2628
run: yarn build:azure
2729

30+
- name: Deploy
31+
if: 0
32+
id: deploy
33+
uses: Azure/static-web-apps-deploy@v1
34+
with:
35+
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BLUE_DESERT_0E46AFE00 }}
36+
repo_token: ${{ secrets.GITHUB_TOKEN }}
37+
action: 'upload'
38+
production_branch: 'main'
39+
app_location: 'dist'
40+
api_location: ''
41+
skip_app_build: true
42+
skip_api_build: true
43+
2844
- name: Deploy to GitHub Pages
2945
uses: peaceiris/actions-gh-pages@v3
3046
with:
3147
github_token: ${{ secrets.GITHUB_TOKEN }}
3248
publish_dir: ./dist
3349
keep_files: false
34-
cname: zoot.plus
50+
cname: zoot.plus

0 commit comments

Comments
 (0)