This repository was archived by the owner on Dec 15, 2025. It is now read-only.
added workflows #1
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 to Cloudflare Worker | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| repository_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| deploy: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| needs: build | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up Wrangler CLI | |
| uses: cloudflare/[email protected] | |
| with: | |
| apiToken: ${{ secrets.CF_API_TOKEN }} |