From 255ba2c214bd5aef13dd4789c7b9a0c430eece5f Mon Sep 17 00:00:00 2001 From: GamesTrap Date: Sat, 4 Nov 2023 21:59:24 +0100 Subject: [PATCH] Moved generated documentation to TRAP-Docs repository 11/04/2023 | 23w44a1 [skip-ci] --- .github/workflows/docs.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e6b65c23d..b56a7dad9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 @@ -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"