This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Merge pull request #3 from pulsar-edit/confused-Techie-patch-1 #16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| # trigger deployment on every push to main branch | |
| push: | |
| branches: [main] | |
| # trigger deployment manually | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout your repository using git | |
| uses: actions/checkout@v3 | |
| - name: Setup pnpm | |
| # You may pin to the exact commit or the version. | |
| # uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd | |
| uses: pnpm/action-setup@v2.2.4 | |
| with: | |
| # Version of pnpm to install | |
| version: latest # optional | |
| # Where to store pnpm files | |
| # dest: # optional, default is ~/setup-pnpm | |
| # If specified, run `pnpm install` | |
| run_install: true # optional, default is null | |
| - name: Install, build, and upload your site | |
| uses: withastro/action@v0.1.9 | |
| with: | |
| # path: . # The root location of your Astro project inside the repository. (optional) | |
| # node-version: 16 # The specific version of Node that should be used to build your site. Defaults to 16. (optional) | |
| package-manager: pnpm # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) | |
| deploy: | |
| needs: build | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v1 |