File tree Expand file tree Collapse file tree 1 file changed +8
-14
lines changed
Expand file tree Collapse file tree 1 file changed +8
-14
lines changed Original file line number Diff line number Diff line change 33 push :
44 branches : [master]
55 schedule :
6- - cron : ' 0 0 1 DEC,MAR,JUN,SEP *'
6+ - cron : ' 0 0 1 * *'
77 workflow_dispatch :
88jobs :
99 # Build
@@ -22,23 +22,17 @@ jobs:
2222 run : yarn build
2323 env :
2424 CONTENTFUL_ACCESS_TOKEN : ${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
25- - name : Upload Artifact
26- uses : actions/upload-artifact@v2.2.3
25+ - name : Upload GitHub Pages artifact
26+ uses : actions/upload-pages- artifact@v3.0.1
2727 with :
2828 path : public
29- name : artifact
30-
29+
3130 # Deploy
3231 deploy :
3332 needs : [build]
3433 runs-on : ubuntu-latest
3534 steps :
36- - name : Checkout Repo
37- uses : actions/checkout@v2
38- - name : Download Artifact
39- uses : actions/download-artifact@v2.0.9
40- - name : Deploy to GitHub Pages
41- uses : rdarida/simple-github-pages-deploy-action@v1
42- with :
43- git-base-folder : artifact
44- commit-message : Auto build static site
35+ - name : Configure GitHub Pages
36+ uses : actions/configure-pages@v5.0.0
37+ - name : Deploy GitHub Pages site
38+ uses : actions/deploy-pages@v4.0.5
You can’t perform that action at this time.
0 commit comments