diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index c11d2f9..084140f 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -5,9 +5,6 @@ on: - main workflow_dispatch: -env: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - jobs: deploy: runs-on: ubuntu-latest @@ -17,6 +14,8 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.x + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git - run: mkdocs gh-deploy --force