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 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]