diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1b41fc3..eead9b9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,3 +22,18 @@ jobs: - run: npm whoami; npm --ignore-scripts publish env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} + - uses: actions/upload-pages-artifact@v3 + with: + path: ./examples + publish-page: + runs-on: ubuntu-latest + needs: publish-npm + permissions: + pages: write + id-token: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - id: deployment + uses: actions/deploy-pages@v4 diff --git a/examples/index.html b/examples/index.html index 46ac075..161173e 100644 --- a/examples/index.html +++ b/examples/index.html @@ -2,7 +2,7 @@