Skip to content

Commit 2b53f80

Browse files
committed
fix workflow
1 parent a1266ea commit 2b53f80

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/document.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ jobs:
2121
- name: Generate documents (and remove markdown)
2222
run: |
2323
cd tools &&
24-
./generate_document.py --tag ${{ steps.branch.outputs.VERSION_NAME }} &&
24+
./generate_document.py --tag $VERSION &&
2525
./generate_zip.py &&
2626
rm ../document_ja/*.md ../document_en/*.md &&
2727
mkdir generated &&
2828
mv ../document_ja generated/ &&
2929
mv ../document_en generated/
30+
env:
31+
VERSION: ${{ steps.branch.outputs.VERSION_NAME }}
3032
- name: Publish to github pages
3133
if: ${{ github.repository == 'atcoder/ac-library' }}
3234
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)