This repository was archived by the owner on Dec 3, 2024. It is now read-only.
File tree 1 file changed +26
-26
lines changed
1 file changed +26
-26
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and deploy to GitHub Pages
2
2
3
3
on :
4
- push:
5
- branches:
6
- - "master"
4
+ push :
5
+ branches :
6
+ - " master"
7
7
8
8
jobs :
9
- build:
10
- runs-on: ubuntu-latest
9
+ build :
10
+ runs-on : ubuntu-latest
11
11
12
- permissions:
13
- pages: write
14
- id-token: write
12
+ permissions :
13
+ pages : write
14
+ id-token : write
15
15
16
- environment:
17
- name: github-pages
18
- url: ${{ steps.deployment.outputs.page_url }}
16
+ environment :
17
+ name : github-pages
18
+ url : ${{ steps.deployment.outputs.page_url }}
19
19
20
- steps:
21
- - uses: actions/checkout@v3
22
-
23
- - uses: actions/setup-node@v3
24
- with:
25
- node-version: 18
26
- cache: 'npm'
20
+ steps :
21
+ - uses : actions/checkout@v3
22
+
23
+ - uses : actions/setup-node@v3
24
+ with :
25
+ node-version : 18
26
+ cache : ' npm'
27
27
28
- - run: |
29
- npm ci
30
- npm run build
28
+ - run : |
29
+ npm ci
30
+ npm run build
31
31
32
- - uses: actions/upload-pages-artifact@v1
33
- with:
34
- path: "dist/"
35
-
36
- - uses: actions/deploy-pages@v1
32
+ - uses : actions/upload-pages-artifact@v1
33
+ with :
34
+ path : " dist/"
35
+
36
+ - uses : actions/deploy-pages@v1
You can’t perform that action at this time.
0 commit comments