mirror of
https://gitee.com/openharmony/third_party_rust_cfg-if
synced 2024-11-23 06:59:42 +00:00
Another attempt at gh-pages
This commit is contained in:
parent
f779d28bba
commit
f71bf60f21
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@ -47,7 +47,10 @@ jobs:
|
||||
run: |
|
||||
cd target/doc
|
||||
git init
|
||||
git remote add origin https://x-access-token:${{ secrets.github_token }}@github.com/${{ github.repository }}
|
||||
git fetch origin
|
||||
git reset --hard "origin/gh-pages^" --
|
||||
git add .
|
||||
git -c user.name='ci' -c user.email='ci' commit -m init
|
||||
git push -f -q https://x-access-token:${{ secrets.github_token }}@github.com/${{ github.repository }} HEAD:gh-pages
|
||||
git push -f -q origin HEAD:gh-pages
|
||||
if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'
|
||||
|
Loading…
Reference in New Issue
Block a user