chore(deps): bump the npm_and_yarn group across 1 directory with 2 up… #14
  
    
      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
    
  
  
    
  | name: Deploy Site | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| name: Build the Site | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/[email protected] | |
| - name: Setup the pnpm Package Manager | |
| uses: pnpm/[email protected] | |
| with: | |
| version: 9 | |
| - name: Install the Dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build the Static Assets | |
| run: pnpm build --preset github_pages | |
| - name: Upload Build Assets | |
| uses: actions/[email protected] | |
| with: | |
| path: ./.output/public | |
| deploy: | |
| name: Deploy the Site | |
| needs: build | |
| permissions: | |
| pages: write | |
| id-token: write | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/[email protected] |