Skip to content

Merge pull request #1 from t1nyb0x/develop #12

Merge pull request #1 from t1nyb0x/develop

Merge pull request #1 from t1nyb0x/develop #12

name: deploy-cfworkers
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 5
name: Deploy to Cloudflare Workers
steps:
- uses: actions/checkout@v4
- name: publish
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
secrets: |
SECRET
DISCORD
env:
SECRET: ${{ secrets.CF_WORKERS_SECRET }}
DISCORD: ${{ secrets.CF_WORKERS_DISCORD }}