重读 skynet 源码 #54
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: '*' |