Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bc8aa8f

Browse files
committed
chore: force update docs branch
1 parent 5e3d4a0 commit bc8aa8f

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎.github/workflows/deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,18 @@ jobs:
100100
101101
echo "Cloning docs branch ..."
102102
git clone --depth 1 --branch docs "https://x-access-token:${GH_TOKEN}@github.com/${GH_REPO}.git" docs-cache
103-
cp "$CACHE_FILE" docs-cache/
104103
105104
cd docs-cache
105+
git checkout --orphan docs
106+
git rm -rf .
107+
cp "../$CACHE_FILE" ./
108+
106109
git config user.name github-actions[bot]
107110
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
108111
109112
git add .git-committers-cache.json
110113
git commit -m "chore: update committer cache [skip ci]" || echo "No changes to commit"
111-
git push origin docs
114+
git push --force origin docs
112115
113116
- name: Upload artifact
114117
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /