File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : deploy
2
+
3
+ on :
4
+ push :
5
+ group : ${{ github.workflow }}-${{ github.ref }}
6
+ cancel-in-progress : true
7
+
8
+ jobs :
9
+ deploy :
10
+ timeout-minutes : 20
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Check out code
14
+ uses : actions/checkout@v3
15
+
16
+ - name : Setup Node.js environment
17
+ uses : actions/setup-node@v3
18
+ with :
19
+ node-version-file : ' .node-version'
20
+ cache : ' yarn'
21
+
22
+ - name : Install dependencies
23
+ run : yarn install --frozen-lockfile
24
+
25
+ - name : Build
26
+ run : yarn build:azure
27
+
28
+ - name : Deploy
29
+ if : false
30
+ id : deploy
31
+ uses : Azure/static-web-apps-deploy@v1
32
+ with :
33
+ azure_static_web_apps_api_token : ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BLUE_DESERT_0E46AFE00 }}
34
+ repo_token : ${{ secrets.GITHUB_TOKEN }}
35
+ action : ' upload'
36
+ production_branch : ' main'
37
+ app_location : ' dist'
38
+ api_location : ' '
39
+ skip_app_build : true
40
+ skip_api_build : true
41
+
42
+ - name : Deploy to GitHub Pages
43
+ uses : peaceiris/actions-gh-pages@v3
44
+ with :
45
+ github_token : ${{ secrets.GITHUB_TOKEN }}
46
+ publish_dir : ./dist
47
+ keep_files : false
48
+ cname : zoot.plus
You can’t perform that action at this time.
0 commit comments