Skip to content

Commit

Permalink
ci: fixes for documentation deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick330602 committed Mar 10, 2024
1 parent 1893ef6 commit 19cef0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
- uses: actions/checkout@v2
- name: deploy manpages to website
env:
GH_TOKEN: ${{ secrets.GIT_DEPLOY_KEY }}
GH_TOKEN: ${{ secrets.GITLAB_DEPLOY_KEY }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "Jinming Wu, Patrick"
git clone --depth 1 https://patrick330602:$GH_TOKEN@github.com/wslutilities/wslutilities.github.io.git website
git clone --depth 1 https://patrick:$GH_TOKEN@git.wedotstud.io/wslu/documentation website
cp -f ./CODE_OF_CONDUCT.md ./website/coc.md
cp -f ./CONTRIBUTING.md ./website/contributing.md
git --git-dir=./website/.git --work-tree=./website add -A
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
run: bash -c "for x in docs/*; do groff \$x -mandoc -Thtml > \${x%.*}.html; done"
- name: deploy manpages to website
env:
GH_TOKEN: ${{ secrets.GIT_DEPLOY_KEY }}
GH_TOKEN: ${{ secrets.GITLAB_DEPLOY_KEY }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "Jinming Wu, Patrick"
git clone --depth 1 https://patrick330602:$GH_TOKEN@github.com/wslutilities/wslutilities.github.io.git website
git clone --depth 1 https://patrick:$GH_TOKEN@git.wedotstud.io/wslu/website website
bash -x extras/scripts/manpage_deploy.bash
git --git-dir=./website/.git --work-tree=./website add -A
git --git-dir=./website/.git --work-tree=./website commit -m "Manpage update"
Expand Down

0 comments on commit 19cef0a

Please sign in to comment.