Skip to content

Bump github.com/go-rod/rod from 0.112.0 to 0.114.7 #37

Bump github.com/go-rod/rod from 0.112.0 to 0.114.7

Bump github.com/go-rod/rod from 0.112.0 to 0.114.7 #37

Workflow file for this run

name: Build for Cloudflare
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.110.0"
- name: build
run: make CF_PAGES_URL="https://karlhaworth.com" publish-cloudflare
- name: Publish to Preview Env
uses: cloudflare/pages-action@1
if: github.event_name == 'pull_request' && github.event.pull_request.merged == false
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: "karlhaworth-com-hugo"
directory: "public"
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
branch: ${GITHUB_REF#refs/heads/}
- name: Publish to Prod
uses: cloudflare/pages-action@1
if: github.event_name != 'pull_request'
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: "karlhaworth-com-hugo"
directory: "public"
gitHubToken: ${{ secrets.GITHUB_TOKEN }}