Skip to content

Commit

Permalink
Moved generated documentation to TRAP-Docs repository 11/04/2023 | 23…
Browse files Browse the repository at this point in the history
…w44a1 [skip-ci]
  • Loading branch information
GamesTrap committed Nov 4, 2023
1 parent e75b603 commit 255ba2c
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ jobs:
uses: actions/checkout@v4
with:
submodules: 'true'
- uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
git_committer_name: TRAP CI/CD
- name: Install dependencies
run: sudo apt install -y doxygen python3 python3-pip python3-venv graphviz
- name: Make python3 available as python
Expand All @@ -44,11 +37,21 @@ jobs:
cd GeneratorScripts/
./GenerateDocumentation.sh
cd ..
- uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
git_committer_name: TRAP CI/CD
workdir: 'TRAP-Docs'
- uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
repositories: >-
["GamesTrap/TRAP-Docs"]
- name: Retrieve new docs version
id: get-docs-version
run: echo "DOCS_VERSION=$(grep -oP -m 1 '\d+w\d+[a-zA-Z]+\d+' .modules/generatedocs/pages/changelog.md)" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 255ba2c

Please sign in to comment.