mirror of
https://gitea.com/PublicAffairs/openai-github-copilot.git
synced 2025-07-22 12:00:37 +02:00
Add github CI workflow
This commit is contained in:
16
.github/workflows/cf-deploy.yml
vendored
Normal file
16
.github/workflows/cf-deploy.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Deploy Worker
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
repository_dispatch:
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
name: Deploy
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build & Deploy Worker
|
||||
uses: cloudflare/wrangler-action@v3
|
||||
with:
|
||||
apiToken: ${{ secrets.CF_API_TOKEN }}
|
||||
accountId: ${{ secrets.CF_ACCOUNT_ID }}
|
Reference in New Issue
Block a user