Merge pull request #8 from DeadPackets/copilot/expand-from-length-limit #15
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: Build Server on Push | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - fax-me-maybe-server/** | |
| workflow_dispatch: | |
| jobs: | |
| build-server: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Install NodeJS | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: 'npm' | |
| cache-dependency-path: fax-me-maybe-server/package-lock.json | |
| - name: Run Vite Bundler | |
| run: npm install && npm run build | |
| working-directory: fax-me-maybe-server | |
| - name: Build & Deploy Worker | |
| uses: cloudflare/wrangler-action@v3 | |
| with: | |
| wranglerVersion: '4.45.0' | |
| apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
| accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
| workingDirectory: fax-me-maybe-server |