diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index a4cc1f9..0936e88 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -7,8 +7,6 @@ on: permissions: contents: read - pages: write - id-token: write jobs: build: @@ -41,6 +39,20 @@ jobs: with: path: './demo/dist' + deploy: + name: 🚀 Deploy + needs: build + runs-on: ubuntu-latest + + permissions: + pages: write + id-token: write + + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + + steps: - name: 🚀 Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4