Cloudflare 使用 SaaS 回源加速配置笔记 #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish static site | |
on: | |
issues: | |
types: [opened, edited, milestoned] | |
push: | |
jobs: | |
run: | |
name: Publish static site | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
- name: Generate static file | |
run: python to_p.py | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v7 | |
with: | |
author_name: hanxi | |
author_email: [email protected] | |
message: 'Publish' | |
add: '*' |