Skip to content

Commit 307fd43

Browse files
committed
[fix]: wrong branch name
1 parent e70dfa1 commit 307fd43

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)