From 8846c408aace7ad55ece7c1b742046ef699a843d Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Tue, 9 Jul 2024 19:53:16 -0400 Subject: [PATCH] fix: test ver 4 --- .github/workflows/release.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec7afdd..74378d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,12 @@ on: - beta - betatest +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + jobs: build-test-release: runs-on: [gpu] @@ -38,6 +44,29 @@ jobs: - run: grep ESI_SHELL_VERSION esi-shell + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build-test-release + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Pages + uses: actions/configure-pages@v5 + + - name: Build with Jekyll + uses: actions/jekyll-build-pages@v1 + + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 + cleanup: runs-on: ubuntu-latest needs: build-test-release