diff options
Diffstat (limited to 'projects/website/.github/workflows')
| -rw-r--r-- | projects/website/.github/workflows/deploy.yaml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/projects/website/.github/workflows/deploy.yaml b/projects/website/.github/workflows/deploy.yaml new file mode 100644 index 0000000..e048fa3 --- /dev/null +++ b/projects/website/.github/workflows/deploy.yaml @@ -0,0 +1,23 @@ +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + name: Publish to Cloudflare Pages + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Publish to Cloudflare Pages + uses: cloudflare/pages-action@v1 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: 424d9dabd39849818d9e22366a20e4d6 + projectName: www-unnamed-group + directory: source |
