2023-07-25 21:07:23 +01:00
|
|
|
name: Sync gmem.ca
|
2023-08-03 11:57:05 +01:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- 'gmem.ca/**'
|
2023-08-16 21:41:19 +01:00
|
|
|
- '.forgejo/workflows/sync-gmemca.yml'
|
2023-07-25 21:07:23 +01:00
|
|
|
|
|
|
|
jobs:
|
2023-07-25 21:25:15 +01:00
|
|
|
sync:
|
2024-01-23 17:22:49 +00:00
|
|
|
runs-on: debian-latest
|
2023-07-25 21:07:23 +01:00
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
2023-08-15 09:10:13 +01:00
|
|
|
uses: actions/checkout@v3.5.3
|
2023-07-25 21:07:23 +01:00
|
|
|
with:
|
|
|
|
ref: trunk
|
2023-12-23 12:46:32 +00:00
|
|
|
- name: Publish to Cloudflare Pages
|
2023-12-23 13:00:12 +00:00
|
|
|
uses: https://github.com/cloudflare/pages-action@v1
|
2023-12-23 12:46:32 +00:00
|
|
|
with:
|
|
|
|
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
|
|
|
accountId: 7dc420732ea679a530aee304ea49a63c
|
2024-04-15 17:52:28 +01:00
|
|
|
projectName: arch-dog
|
2023-12-23 12:46:32 +00:00
|
|
|
directory: .
|
|
|
|
branch: main
|
|
|
|
workingDirectory: gmem.ca
|