Skip to content

Add automatic file upload #19

Add automatic file upload

Add automatic file upload #19

Workflow file for this run

name: Deploy Cloudflare Worker Function
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
# secrets: |
# MASTODON_TOKEN
# MASTODON_WEDNESDAY_DUDE_MEDIA
# env:
# MASTODON_TOKEN: ${{ secrets.MASTODON_ACCESS_KEY }}
# MASTODON_WEDNESDAY_DUDE_MEDIA: ${{ vars.MASTODON_WEDNESDAY_DUDE_MEDIA }}