Skip to content

feat: add weekly 50 #130

feat: add weekly 50

feat: add weekly 50 #130

Workflow file for this run

name: build
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
Rebuild-everything:
runs-on: ubuntu-latest
steps:
- name: Checkout # 将仓库内master分支的内容下载到工作目录
uses: actions/checkout@v4 # 脚本来自 https://github.com/actions/checkout
with:
ref: main
fetch-depth: 0
# Install packages
- run: pip install -r .requirements.txt
- run: mkdocs build --strict
# Generate CNAME File
- run: echo weekly.binlin.wang > CNAME
- run: echo weekly.binlin.wang > docs/CNAME
- uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CUSTOM_DOMAIN: weekly.binlin.wang
CONFIG_FILE: mkdocs.yml
REQUIREMENTS: .requirements.txt