Skip to content

feat: migrate birthday handler to scheduler job (#43) #2

feat: migrate birthday handler to scheduler job (#43)

feat: migrate birthday handler to scheduler job (#43) #2

name: CDN Upload - Production
on:
workflow_dispatch:
push:
branches:
- production
paths:
- 'assets/images**'
jobs:
cdn_upload:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Upload to CloudFlare CDN
env:
CLOUDFLARE_CDN_URL: ${{ secrets.CLOUDFLARE_CDN_URL_PRODUCTION }}
CLOUDFLARE_ACCESS_KEY: ${{ secrets.CLOUDFLARE_ACCESS_KEY_PRODUCTION }}
run: |
./.github/workflow_scripts/cf-cdn.sh