File tree Expand file tree Collapse file tree 2 files changed +8
-34
lines changed
Expand file tree Collapse file tree 2 files changed +8
-34
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11name : Document
22
3- on :
4- push :
5- branches :
6- - master
7- - production
8- tags :
9- - ' v*'
3+ on : [push, pull_request]
104
115jobs :
126 doc :
@@ -28,13 +22,20 @@ jobs:
2822 run : |
2923 cd tools &&
3024 ./generate_document.py --tag ${{ steps.branch.outputs.VERSION_NAME }} &&
25+ ./generate_zip.py &&
3126 rm ../document_ja/*.md ../document_en/*.md &&
3227 mkdir generated &&
3328 mv ../document_ja generated/ &&
3429 mv ../document_en generated/
3530 - name : Publish to github pages
31+ if : ${{ github.repository == atcoder/ac-library }}
3632 uses : peaceiris/actions-gh-pages@v3
3733 with :
3834 deploy_key : ${{ secrets.ACTIONS_DEPLOY_KEY }}
3935 publish_dir : ./tools/generated
4036 destination_dir : ${{ steps.branch.outputs.VERSION_NAME }}
37+ - name : Upload zip
38+ uses : actions/upload-artifact@v2
39+ with :
40+ name : ac-library
41+ path : tools/ac-library.zip
You can’t perform that action at this time.
0 commit comments