File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ jobs:
1818 python-version : 3.x
1919
2020 - name : Cache dependencies
21- uses : actions/cache@v2
21+ uses : actions/cache@v3
2222 with :
23- key : ${{ github.ref }}
2423 path : .cache
24+ key : ${{ runner.os }}-${{ github.ref }}
2525
2626 - name : Install mkdocs and plugins
2727 run : |
@@ -33,16 +33,16 @@ jobs:
3333 run : |
3434 echo "blog.ookamitai.com" > CNAME
3535
36- - name : Push CNAME file to gh-branch
36+ - name : Push CNAME file to gh-pages
3737 env :
3838 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3939 run : |
4040 git config user.name "GitHub Actions"
4141 git config user.email "[email protected] " 42- git checkout -b gh-branch
42+ git checkout -b gh-pages
4343 git add CNAME
4444 git commit -m "Add CNAME file"
45- git push origin gh-branch --force
45+ git push origin gh-pages --force
4646
4747 - name : Deploy to GitHub Pages
4848 run : mkdocs gh-deploy --force
You can’t perform that action at this time.
0 commit comments