Skip to content

chore(deps-dev): bump ws in /cf/forest-snapshot-listing #57

chore(deps-dev): bump ws in /cf/forest-snapshot-listing

chore(deps-dev): bump ws in /cf/forest-snapshot-listing #57

name: Deploy CF forest-snapshot-listing
on:
pull_request:
paths:
- 'cf/forest-snapshot-listing/**'
- '.github/workflows/deploy-cf-snapshot-listing.yml'
push:
paths:
- 'cf/forest-snapshot-listing/**'
- '.github/workflows/deploy-cf-snapshot-listing.yml'
workflow_dispatch:
jobs:
check-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deployment check
uses: cloudflare/wrangler-action@v3
with:
workingDirectory: "cf/forest-snapshot-listing"
command: deploy --dry-run
- name: Deploy
if: github.ref == 'refs/heads/main' && ( github.event_name == 'push' || github.event_name == 'workflow_dispatch' )
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
workingDirectory: "cf/forest-snapshot-listing"