name: github-pages on: push: branches: main jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: make build - uses: actions/upload-pages-artifact@v2 with: path: dist deploy: environment: name: github-pages url: ${{ steps.deploy.outputs.page_url }} permissions: pages: write id-token: write needs: build runs-on: ubuntu-latest steps: - id: deploy uses: actions/deploy-pages@v2