Skip to content

Commit

Permalink
complete simple_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hiltay committed Oct 28, 2022
1 parent 4f6b124 commit ab603de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
env:
# 在这里查看需要添加的secert
# 通用配置
SIMPLE_MODE: false
SIMPLE_MODE: false # 极简模式是否开启
STORAGE_TYPE: ${{ secrets.STORAGE_TYPE }} # 请修改为你的存储方式,默认为leancloud
PROXY: ${{ secrets.PROXY }} # 可选,http代理
# leancloud、mysql、sqlite、mongodb配置四选一即可
Expand Down Expand Up @@ -102,12 +102,12 @@ jobs:
run: |
python run.py
- name: simple mode transform
- name: simple mode transform # 极简模式转换
if: ${{ env.SIMPLE_MODE }}
run: |
python ./hexo_circle_of_friends/utils/simple_mode_transform_json.py
- name: simple mode push
- name: simple mode push # 推送极简模式
if: ${{ env.SIMPLE_MODE }}
uses: github-actions-x/commit@v2.9
with:
Expand Down

0 comments on commit ab603de

Please sign in to comment.