Skip to content

fix: remove www from baseUrl #8

fix: remove www from baseUrl

fix: remove www from baseUrl #8

Workflow file for this run

name: Deploy to Production
on:
workflow_dispatch:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.141.0'
extended: true
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: '23'
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
- name: Deploy to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy