diff --git a/.github/workflows/pl-fe.yaml b/.github/workflows/pl-fe.yaml index 1719cfcd1..f12792e24 100644 --- a/.github/workflows/pl-fe.yaml +++ b/.github/workflows/pl-fe.yaml @@ -50,3 +50,28 @@ jobs: with: name: pl-fe path: dist + + - name: Upload Github Pages artifact + uses: actions/upload-pages-artifact@v3 + with: + name: github-pages + path: dist + + deploy: + needs: build + if: github.ref == 'refs/heads/fork' + + permissions: + pages: write + id-token: write + + 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 +