name: github-pages on: push: branches: - main jobs: main: permissions: pages: write id-token: write environment: github-pages runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: make build - uses: actions/upload-pages-artifact@v3 with: path: dist - uses: actions/deploy-pages@v4