mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 12:14:46 -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
|
- name: Update the docs
|
||||||
run: |
|
run: |
|
||||||
cd docs/_site
|
cd docs/_site
|
||||||
git config --global user.email "${GITHUB_ACTOR}@github.com";
|
sudo chown $(whoami):$(whoami) . -R
|
||||||
git config --global user.name "${GITHUB_ACTOR}";
|
git config --global user.email "${GITHUB_ACTOR}@github.com"
|
||||||
|
git config --global user.name "${GITHUB_ACTOR}"
|
||||||
git init
|
git init
|
||||||
git add -A;
|
git add -A
|
||||||
git commit -m "Deploying the documentation";
|
git commit -m "Deploying the documentation"
|
||||||
git remote add origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${GITHUB_REPO};
|
git remote add origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${GITHUB_REPO}
|
||||||
git checkout -b Documentation
|
git checkout -b gh-pages
|
||||||
git push --force origin Documentation;
|
git push --force origin gh-pages
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
GITHUB_REPO: "github.com/AnonymusRaccoon/Kyoo"
|
GITHUB_REPO: "github.com/AnonymusRaccoon/Kyoo"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user