File tree Expand file tree Collapse file tree 3 files changed +19
-34
lines changed Expand file tree Collapse file tree 3 files changed +19
-34
lines changed Original file line number Diff line number Diff line change 3
3
- package-ecosystem : " github-actions"
4
4
directory : " /"
5
5
schedule :
6
- interval : " weekly "
6
+ interval : " monthly "
7
7
8
8
- package-ecosystem : " npm"
9
9
directory : " /"
Original file line number Diff line number Diff line change 1
1
name : " Deploy"
2
2
3
- on :
4
- push :
5
- branches :
6
- - main
3
+ on : push
7
4
8
5
jobs :
9
- deploy :
10
- name : Deploy
6
+ build :
11
7
runs-on : ubuntu-latest
12
8
permissions :
13
9
contents : write
22
18
cache : " pnpm"
23
19
- run : pnpm install
24
20
- run : pnpm run build
25
- - uses : JamesIves/github-pages-deploy-action@v4
26
- name : Deploy to gh-pages
21
+ - uses : actions/upload-pages-artifact@v3
27
22
with :
28
- branch : gh-pages
29
- folder : dist
30
- single-commit : true
23
+ path : " dist/"
24
+
25
+ deploy :
26
+ if : github.ref == 'refs/heads/main'
27
+ needs : build
28
+ permissions :
29
+ pages : write
30
+ id-token : write
31
+ environment :
32
+ name : github-pages
33
+ url : ${{ steps.deployment.outputs.page_url }}
34
+ runs-on : ubuntu-latest
35
+ steps :
36
+ - uses : actions/deploy-pages@v4
37
+ id : deployment
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments