Update tests.yml

This commit is contained in:
Ace 2023-07-24 02:36:16 +02:00 committed by GitHub
parent 62c898e891
commit 00239742a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,6 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v2
with:
name: workspace
@ -134,11 +133,12 @@ jobs:
- name: publish
run: |
git status
echo "$PWD"
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.ACTIONS_SECRET }}@github.com/$GITHUB_REPOSITORY
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 add docs/*
git commit -m "update docs"
git push