Skip to content

添加 中国-影视文化作品-电影-《晓迪》 (#26) #116

添加 中国-影视文化作品-电影-《晓迪》 (#26)

添加 中国-影视文化作品-电影-《晓迪》 (#26) #116

Workflow file for this run

name: Publish
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]')"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- uses: peaceiris/actions-hugo@v2
with:
hugo-version: latest
extended: true
- run: npm ci
- run: hugo --minify
- run: npx wrangler pages deploy public --project-name 2345-lgbt --branch main
if: github.ref == 'refs/heads/main'
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}