Skip to content

add: share buttons to article page #117

add: share buttons to article page

add: share buttons to article page #117

Workflow file for this run

name: Cloudflare Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-22.04
name: Deploy
environment: production
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Install Chrome
run: pnpm install:chrome
- name: Build
run: pnpm build
env:
TZ: 'Asia/Tokyo'
CF_BEACON_TOKEN: ${{ secrets.CF_BEACON_TOKEN }}
- name: Publish
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
command: pages deploy ./dist --project-name=blog --commit-dirty=true