Skip to content

Update dependency transformers to v4.38.0 [SECURITY] #201

Update dependency transformers to v4.38.0 [SECURITY]

Update dependency transformers to v4.38.0 [SECURITY] #201

Workflow file for this run

name: AINewsTracker Docs
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10.12"
- name: Cache Python dependencies
uses: actions/cache@v3
with:
path: ~/.cache/pypoetry
key: ${{ runner.os }}-poetry-${{ hashFiles('**/poetry.lock') }}
- name: Run poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.5.0"
- name: Install project dependencies
run: poetry install
- name: Build mkdocs
run: poetry run mkdocs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.TOKEN }}
publish_dir: ./site