From 4a9adb994520acef82f80ad490f54a5c50efdc2c Mon Sep 17 00:00:00 2001 From: alexkar598 <25136265+alexkar598@users.noreply.github.com> Date: Sat, 22 Jun 2024 00:55:50 -0400 Subject: [PATCH] Uploads to github pages --- .github/workflows/build-release.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 66cc48c..a2dedd9 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -71,3 +71,25 @@ jobs: artifacts: "buildroot/output/images/*" tag: ${{ env.HASH }} generateReleaseNotes: true + + - name: Upload GitHub Pages artifact + uses: actions/upload-pages-artifact@v3 + with: + path: buildroot/output/images + + deploy: + needs: build + + permissions: + pages: write # to deploy to Pages + id-token: write # to verify the deployment originates from an appropriate source + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + runs-on: ubuntu-latest + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4