From b5cd68b531cda00dff2c6a17aad2cb8308fabd4e Mon Sep 17 00:00:00 2001 From: Ace Date: Mon, 24 Jul 2023 00:21:42 +0200 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 37ee6fa..a25c34d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -114,7 +114,10 @@ jobs: steps: - name: Restore Workspace - uses: actions/download-artifact@v2 + uses: | + actions/download-artifact@v2 + actions/checkout@v3 + with: name: workspace @@ -135,10 +138,9 @@ jobs: - name: Publish Docs run: | sudo apt-get install python3-sphinx - git config --global user.name 'GitHub Actions' - git config --global user.email 'actions@github.com' - git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY + git config user.name "github-actions" + git config user.email "github-actions@github.com" git add docs - git commit -m "github actions - updated docs" - git push --force --quiet + git commit -m "update docs" + git push