Use <details> for FAQ, add tags #16
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: Update FAQ HTML | |
on: | |
push: | |
paths: | |
- 'data/faq.json' | |
- 'data/faq-template.html' | |
- '.github/scripts/generate_faq_html.py' | |
permissions: | |
contents: write | |
jobs: | |
update-faq: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Generate FAQ HTML | |
run: | | |
python -m pip install pyyaml | |
python .github/scripts/generate_faq_html.py | |
- name: Commit updated FAQ HTML | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Actions" | |
git add faq.html | |
git commit -m "Update FAQ HTML [skip ci]" | |
git push |