1
Evan Pratten ac03233b17 Revert "Scope ewpratten.com CI"
This reverts commit 65c20be6311afc120e83e8280db852203a5bcd47.
2024-11-14 12:45:29 -05:00

33 lines
704 B
YAML

name: Deploy ewp.fyi
on:
push:
branches:
- master
paths:
- 'sites/ewp.fyi/**'
jobs:
deploy:
name: Deploy to Production
runs-on: ubuntu-latest
environment: production
permissions:
contents: read
deployments: write
steps:
- name: Checkout master
uses: actions/checkout@v4
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: ewp-fyi
directory: sites/ewp.fyi
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
wranglerVersion: '2'