Skip to content

Merge pull request #38 from dAppServer/dependabot/github_actions/acti… #29

Merge pull request #38 from dAppServer/dependabot/github_actions/acti…

Merge pull request #38 from dAppServer/dependabot/github_actions/acti… #29

Workflow file for this run

name: docs
on:
push:
branches:
- main
paths:
- compiler/docs
- mkdocs.yml
- .github/workflows/docs.yml
jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.repository.fork == false
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
python-version: 3.x
- uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
- run: sudo apt-get install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev
- run: pip install git+https://${{ secrets.MK_TOKEN }}@github.com/squidfunk/mkdocs-material-insiders.git
working-directory: compiler
- run: pip install mkdocs-git-revision-date-localized-plugin
working-directory: compiler
- run: mkdocs gh-deploy --force
working-directory: compiler