mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
CI: Fixing documentation's permissions
This commit is contained in:
parent
864ce8176d
commit
362ec948c9
15
.github/workflows/documentation.yml
vendored
15
.github/workflows/documentation.yml
vendored
@ -17,14 +17,15 @@ jobs:
|
||||
- name: Update the docs
|
||||
run: |
|
||||
cd docs/_site
|
||||
git config --global user.email "${GITHUB_ACTOR}@github.com";
|
||||
git config --global user.name "${GITHUB_ACTOR}";
|
||||
sudo chown $(whoami):$(whoami) . -R
|
||||
git config --global user.email "${GITHUB_ACTOR}@github.com"
|
||||
git config --global user.name "${GITHUB_ACTOR}"
|
||||
git init
|
||||
git add -A;
|
||||
git commit -m "Deploying the documentation";
|
||||
git remote add origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${GITHUB_REPO};
|
||||
git checkout -b Documentation
|
||||
git push --force origin Documentation;
|
||||
git add -A
|
||||
git commit -m "Deploying the documentation"
|
||||
git remote add origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${GITHUB_REPO}
|
||||
git checkout -b gh-pages
|
||||
git push --force origin gh-pages
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_REPO: "github.com/AnonymusRaccoon/Kyoo"
|
||||
|
Loading…
x
Reference in New Issue
Block a user