mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
fix(doxygen): Re-enable deploying of doxygen to qtox.github.io
Hasn't been run since the travis days. Now managed through a deploy key rather than an access token to limit scope to a single repo. Private key is stored in qTox/qTox as a repository secret, and the public portion is saved to qTox/doxygen as a deploy key.
This commit is contained in:
parent
e5d138f79c
commit
d3995bc87e
@ -45,4 +45,6 @@ git add .
|
|||||||
git commit --quiet -m "Deploy to GH pages from commit: $GIT_CHASH"
|
git commit --quiet -m "Deploy to GH pages from commit: $GIT_CHASH"
|
||||||
|
|
||||||
echo "Pushing to GH pages..."
|
echo "Pushing to GH pages..."
|
||||||
git push --force --quiet "https://${GH_TOKEN}@github.com/qTox/doxygen.git" master:gh-pages &> /dev/null
|
chmod 600 /tmp/access_key
|
||||||
|
echo "$access_key" > /tmp/access_key
|
||||||
|
GIT_SSH_COMMAND="ssh -i /tmp/access_key" git push --force --quiet "git@github.com:qTox/doxygen.git" master:gh-pages
|
||||||
|
5
.github/workflows/build-test-deploy.yaml
vendored
5
.github/workflows/build-test-deploy.yaml
vendored
@ -490,6 +490,11 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Run
|
- name: Run
|
||||||
run: ./.ci-scripts/build-docs.sh
|
run: ./.ci-scripts/build-docs.sh
|
||||||
|
- name: Deploy
|
||||||
|
if: github.ref == 'refs/heads/master'
|
||||||
|
env:
|
||||||
|
access_key: ${{ secrets.GITSTATS_DEPLOY_KEY }}
|
||||||
|
run: ./.ci-scripts/deploy-docs.sh
|
||||||
build-gitstats:
|
build-gitstats:
|
||||||
name: Gitstats
|
name: Gitstats
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
x
Reference in New Issue
Block a user