versions-natasha #28
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: versions-natasha | |
on: | |
workflow_dispatch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
permissions: | |
id-token: write | |
pages: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: build | |
run: | | |
# ... installation of all tools ... | |
# get all tags, and run a python script | |
# which you find below to build all documents | |
pip install -r requirements.txt | |
git fetch --all | |
python3 build_docs.py | |
- name: Setup Pages | |
uses: actions/configure-pages@v3 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: ./pages | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |