Fixing the CI

This commit is contained in:
Zoe Roux
2021-02-04 15:55:08 +01:00
parent 77232268bc
commit 6b18bb1257
5 changed files with 12 additions and 8 deletions
+3 -2
View File
@@ -21,10 +21,11 @@ jobs:
cd docs
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 doc";
git remote set-url --push origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${GITHUB_REPO};
git push origin gh-pages;
git remote add origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@${GITHUB_REPO};
git push --force origin gh-pages;
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPO: "github.com/AnonymusRaccoon/ComSquare"