Skip to content

fix misnamed action

fix misnamed action #2

Workflow file for this run

name: Deploy
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.1.20
- name: Install dependencies
run: bun install --frozen-lockfile
# - name: Deploy to production
# if: ${{ github.ref == 'refs/heads/main' }}
# uses: cloudflare/wrangler-action@v3
# with:
# apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
# accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
- name: Deploy to staging
if: ${{ github.ref != 'refs/heads/main' }}
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: deploy --env staging
environment: staging
secrets: |
DENTITY_STAGING_CLIENT_SECRET
DENTITY_STAGING_CLIENT_ID
env:
DENTITY_CLIENT_ID: ${{ secrets.DENTITY_STAGING_CLIENT_ID }}
DENTITY_CLIENT_SECRET: ${{ secrets.DENTITY_STAGING_CLIENT_SECRET }}
DENTITY_BASE_ENDPOINT: https://oidc.staging.dentity.com
APP_REDIRCT: https://ens.domains