From 71a031f0b64b6d74aee09672ecf7c33a1a0700cb Mon Sep 17 00:00:00 2001 From: George Vega Yon Date: Mon, 19 Aug 2024 16:46:59 -0600 Subject: [PATCH] Updating website action --- .github/workflows/website.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 2c66b0a..3ca259b 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -23,3 +23,26 @@ jobs: git commit -a -m 'Re-build examples' || echo Nothing has changed git push origin || echo "No changes to commit" + website: + if: ${{ github.event_name != 'pull_request' }} + runs-on: ubuntu-latest + permissions: + pages: write + id-token: write + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: + - uses: actions/checkout@v4 + + - uses: actions/upload-pages-artifact@v3 + with: + path: "./" + + - name: Deploy to GitHub pages + uses: actions/deploy-pages@v4 + + +