Skip to content

add [定时任务]

add [定时任务] #62

Workflow file for this run

name: GitHub Actions Build and Deploy GitHub Page
on:
push:
branches:
- master
jobs:
build-and-deploy:
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set up built environment
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Build
run: |
node cli.js --build="createPage" --config-host="https://f2h2h1.github.io" --config-sitename="f2h2h1's blog" --config-thirdPartyCode=true
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: .
- name: Deploy
uses: actions/deploy-pages@v1