Skip to content

Commit 4cd19d4

Browse files
authored
CI - Fix zola-deploy action (#169)
* Fix zola-deploy CI action * Update build.yml
1 parent 94cd9d0 commit 4cd19d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- master
77
- dev-docs
8+
- dev-docs-staging
89
pull_request:
910

1011
jobs:
@@ -40,8 +41,8 @@ jobs:
4041
git config user.name "GitHub Actions"
4142
git config user.email "[email protected]"
4243
43-
git fetch origin gh-pages:gh-pages developer-docs:developer-docs
44+
git fetch origin gh-pages:gh-pages dev-docs-staging:dev-docs-staging
4445
git checkout gh-pages
45-
git cherry-pick developer-docs || true
46+
git cherry-pick dev-docs-staging || true
4647
git remote add destination "https://${{github.actor}}:${{github.token}}@github.com/${{github.repository}}.git"
4748
git push destination gh-pages

0 commit comments

Comments
 (0)