diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6da8d71..e73e76c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,6 +11,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 + token: ${{secrets.ADC_GITHUB_TOKEN}} - name: Set up Python uses: actions/setup-python@v1 with: @@ -25,10 +26,10 @@ jobs: version: 1.5.1 - name: Install dependencies run: poetry install --with dev - # - name: Setup doc deploy - # run: | - # git config --global user.name Docs deploy - # git config --global user.email docs@dummy.bot.com + - name: Setup doc deploy + run: | + git config --global user.name Docs deploy + git config --global user.email docs@dummy.bot.com - name: Release docs website and API reference run: | poetry run mike deploy --push --update-aliases ${RELEASE_TAG_VERSION} latest