From 62c898e89162a902de57b45d6d9ec3c71acf04bf Mon Sep 17 00:00:00 2001 From: Ace Date: Mon, 24 Jul 2023 02:21:41 +0200 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 42782a3..2e08bad 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -117,8 +117,6 @@ jobs: - uses: actions/download-artifact@v2 with: name: workspace - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Extract Workspace Archive run: | @@ -131,8 +129,6 @@ jobs: pip install sphinxemoji sphinx_rtd_theme recommonmark cd docsource make html && make github && cd .. - echo "$PWD" - ls git add docs/* git status @@ -142,7 +138,7 @@ jobs: ls git config user.name "github-actions" git config user.email "github-actions@github.com" - git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY + git remote set-url origin https://x-access-token:${{ secrets.ACTIONS_SECRET }}@github.com/$GITHUB_REPOSITORY git add docs/* git commit -m "update docs" git push