Skip to content

Commit

Permalink
change environment names
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Jan 20, 2025
1 parent 910850a commit 1dc9873
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
deploy-preview:
runs-on: ubuntu-latest
needs: [check]
environment: cloudflare-workers-deploy
environment: deploy-preview

steps:
- uses: actions/checkout@v4
Expand All @@ -64,14 +64,14 @@ jobs:
- uses: cloudflare/wrangler-action@v3
name: Deploy pydantic-run-preview
with:
apiToken: ${{ secrets.cloudflare_api_token }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: deploy --env previews --var GITHUB_SHA:${{ github.sha }}

deploy:
if: "success() && github.ref == 'refs/heads/main'"
runs-on: ubuntu-latest
needs: [check]
environment: cloudflare-workers-deploy
environment: deploy-prod

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 1dc9873

Please sign in to comment.