Update landing page copy and reorganize documentation tiles #6
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
| # π¦ .github/workflows/deploy.yml | |
| name: π Deploy to Cloudflare Workers | |
| on: | |
| push: | |
| branches: | |
| - development | |
| jobs: | |
| deploy: | |
| name: π Build & Deploy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: π§Ύ Checkout | |
| uses: actions/checkout@v4 | |
| - name: π¦ Setup pnpm | |
| uses: pnpm/action-setup@v2 | |
| with: | |
| version: 8 | |
| - name: π¦ Get pnpm store path | |
| id: pnpm-cache-path | |
| run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | |
| - name: β»οΈ Cache dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ steps.pnpm-cache-path.outputs.STORE_PATH }} | |
| key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm- | |
| - name: π₯ Install Dependencies | |
| run: pnpm install | |
| - name: π οΈ Build Project | |
| run: pnpm run build | |
| - name: βοΈ Deploy to Cloudflare | |
| env: | |
| CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| run: pnpm exec wrangler deploy |