From 4aa955909bb45b257b1c934e9120f500ce2c6376 Mon Sep 17 00:00:00 2001 From: greg Date: Wed, 19 Feb 2025 20:39:28 -0800 Subject: [PATCH] add action --- .github/workflows/deployment.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/deployment.yaml diff --git a/.github/workflows/deployment.yaml b/.github/workflows/deployment.yaml new file mode 100644 index 0000000..38fd5f5 --- /dev/null +++ b/.github/workflows/deployment.yaml @@ -0,0 +1,21 @@ +name: Deploy to Cloudflare Pages + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Deploy to Cloudflare Pages + uses: cloudflare/pages-action@v1 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + projectName: gregh + directory: . \ No newline at end of file