Skip to content

修复顶级域名

修复顶级域名 #19

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [main]
workflow_dispatch:
schedule:
- cron: '0 0,8 * * *'
jobs:
build-and-deploy:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node_version: [20.x]
name: "Build&Deploy: node-${{ matrix.node_version }}, ${{ matrix.os }}"
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: "npm"
- name: install yarn
run: npm install yarn -g
- run: yarn install
- run: yarn build
- run: CLOSE_SOURCE_PROXY=true && yarn dist
- name: "Jekyll theme"
run: mv ./.github/_config.temp.yml ./data/_config.yml
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACTION_TOKEN }}
publish_dir: ./data
enable_jekyll: true
cname: vodtv.cn