From ef2dc8360d5d752c7305cbbbb7178554ee8fc7be Mon Sep 17 00:00:00 2001 From: Jan Philip Bernius Date: Fri, 16 Dec 2022 15:25:12 +0100 Subject: [PATCH 1/2] GitHub Pages: Use GitHub Actions source --- .github/workflows/docs.yml | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6a3572b826b7..ce9a8ab396cf 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,6 +17,12 @@ on: types: - created +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + jobs: docs: @@ -27,17 +33,19 @@ jobs: with: docs-folder: "docs/" build-command: make html dirhtml - - uses: actions/upload-artifact@v3 + - uses: actions/upload-pages-artifact@v1 with: - name: Documentation path: docs/_build/html/ - - - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: docs/_build/dirhtml/ - user_name: 'artemis-bot' - user_email: 'artemis-bot@users.noreply.github.com' - full_commit_message: ${{ github.event.head_commit.message }} - cname: docs.artemis.cit.tum.de - if: github.ref == 'refs/heads/develop' + + # Deployment job + deploy: + if: github.ref == 'refs/heads/develop' + environment: + name: github-pages + url: docs.artemis.cit.tum.de + runs-on: ubuntu-latest + needs: docs + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 From cd7995ef4b28c03ac76746e05e73f5cbb97c1884 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Jan 2023 08:00:53 +0000 Subject: [PATCH 2/2] Bump alex-page/github-project-automation-plus from 0.8.2 to 0.8.3 Bumps [alex-page/github-project-automation-plus](https://github.com/alex-page/github-project-automation-plus) from 0.8.2 to 0.8.3. - [Release notes](https://github.com/alex-page/github-project-automation-plus/releases) - [Commits](https://github.com/alex-page/github-project-automation-plus/compare/v0.8.2...v0.8.3) --- updated-dependencies: - dependency-name: alex-page/github-project-automation-plus dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/issue-opened.yml | 2 +- .github/workflows/pullrequest-opened.yml | 2 +- .github/workflows/pullrequest-readyforreview.yml | 2 +- .github/workflows/pullrequest-reopened.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/issue-opened.yml b/.github/workflows/issue-opened.yml index 86a95a2f9cc5..ce5fda6b00e8 100644 --- a/.github/workflows/issue-opened.yml +++ b/.github/workflows/issue-opened.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Add Issue to Project - uses: alex-page/github-project-automation-plus@v0.8.2 + uses: alex-page/github-project-automation-plus@v0.8.3 with: project: Artemis Development column: To do diff --git a/.github/workflows/pullrequest-opened.yml b/.github/workflows/pullrequest-opened.yml index 53d39e31fa18..e0e5ed577214 100644 --- a/.github/workflows/pullrequest-opened.yml +++ b/.github/workflows/pullrequest-opened.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Add Pull Request to Project - uses: alex-page/github-project-automation-plus@v0.8.2 + uses: alex-page/github-project-automation-plus@v0.8.3 with: project: Artemis Development column: In progress diff --git a/.github/workflows/pullrequest-readyforreview.yml b/.github/workflows/pullrequest-readyforreview.yml index 1a5a5cdaf756..4a3d41acc375 100644 --- a/.github/workflows/pullrequest-readyforreview.yml +++ b/.github/workflows/pullrequest-readyforreview.yml @@ -10,7 +10,7 @@ jobs: - name: Move to "Ready for review" column if: github.event.pull_request.draft == false - uses: alex-page/github-project-automation-plus@v0.8.2 + uses: alex-page/github-project-automation-plus@v0.8.3 with: project: Artemis Development column: Ready for review diff --git a/.github/workflows/pullrequest-reopened.yml b/.github/workflows/pullrequest-reopened.yml index 9d96ca1d7bc6..cbcac51ea398 100644 --- a/.github/workflows/pullrequest-reopened.yml +++ b/.github/workflows/pullrequest-reopened.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Move to "In progress" column if: github.event.pull_request.draft == true - uses: alex-page/github-project-automation-plus@v0.8.2 + uses: alex-page/github-project-automation-plus@v0.8.3 with: project: Artemis Development column: In progress