From b8f4487f4962cbd728d447fac6628df2fc267815 Mon Sep 17 00:00:00 2001 From: Phil Watson Date: Fri, 15 Aug 2025 11:41:32 +1000 Subject: [PATCH 1/2] Added hitchhiker's quote --- config.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/config.toml b/config.toml index 37f931f..a64f72b 100644 --- a/config.toml +++ b/config.toml @@ -64,6 +64,7 @@ taglines = [ "Fun's za cookin'", "He is a terrific athlete", "He is an okay guy", + "Vell, Phil's jist zis guy you know?" ] [params.theme] From 1c935b05c2fcbc397e054a0bbb026b5515a1f59d Mon Sep 17 00:00:00 2001 From: Phil Watson Date: Fri, 22 Aug 2025 08:53:41 +1000 Subject: [PATCH 2/2] Deploy to Cloudflare Pages --- .github/workflows/deploy.yml | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a15f5f3..1aa792b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -66,27 +66,9 @@ jobs: with: name: rakhama - - name: Clear destination directory - uses: fifsky/ssh-action@v0.0.6 + - name: Deploy to Cloudflare Pages + uses: cloudflare/wrangler-action@v3 with: - command: "rm -rf ${{ secrets.DEPLOY_DIRECTORY }}/*" - host: ${{ secrets.DEPLOY_HOST }} - user: ${{ secrets.DEPLOY_USER }} - port: ${{ secrets.DEPLOY_PORT }} - key: ${{ secrets.DEPLOY_SSH_KEY }} - - - name: SCP Files - uses: appleboy/scp-action@v1 - with: - host: ${{ secrets.DEPLOY_HOST }} - username: ${{ secrets.DEPLOY_USER }} - key: ${{ secrets.DEPLOY_SSH_KEY }} - port: ${{ secrets.DEPLOY_PORT }} - source: ./* - target: ${{ secrets.DEPLOY_DIRECTORY }} - - - name: Purge Cloudflare Cache - uses: jakejarvis/cloudflare-purge-action@master - env: - CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }} - CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_PURGE_TOKEN }} + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + command: pages deploy ./ --project-name=rakhama