Skip to content

修复顶级域名

修复顶级域名 #12

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: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install and Build
run: |
npm install yarn -g
yarn install
yarn build
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: iptv.vodtv.cn