Skip to content

Merge pull request #2 from licitdev/dependabot/npm_and_yarn/app/vite-… #6

Merge pull request #2 from licitdev/dependabot/npm_and_yarn/app/vite-…

Merge pull request #2 from licitdev/dependabot/npm_and_yarn/app/vite-… #6

Workflow file for this run

name: Deploy to Cloudflare Pages
on:
workflow_dispatch:
push:
branches:
- master
- deploy
paths:
- app/**
defaults:
run:
working-directory: app
jobs:
deploy:
if: |
github.ref_name == 'deploy'
|| (github.ref_name == 'master' && github.repository == 'licitdev/directus-cf-cache')
runs-on: ubuntu-latest
name: Deploy Page
steps:
- name: Invoke Deploy Master Hook
uses: distributhor/workflow-webhook@v2
env:
webhook_url: ${{ secrets.CLOUDFLARE_PAGES_WEBHOOK_URL }}
webhook_secret: "no_secret_required"