Update tests.yml
This commit is contained in:
		
							
								
								
									
										8
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -113,7 +113,6 @@ jobs: | |||||||
|       contents: write |       contents: write | ||||||
|      |      | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v3 |  | ||||||
|       - uses: actions/download-artifact@v2 |       - uses: actions/download-artifact@v2 | ||||||
|         with: |         with: | ||||||
|           name: workspace |           name: workspace | ||||||
| @@ -134,11 +133,12 @@ jobs: | |||||||
|  |  | ||||||
|       - name: publish |       - name: publish | ||||||
|         run: | |         run: | | ||||||
|  |           git status | ||||||
|           echo "$PWD" |           echo "$PWD" | ||||||
|           ls |           ls | ||||||
|           git config user.name "github-actions" |           git config user.name github-actions | ||||||
|           git config user.email "github-actions@github.com" |           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 remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY | ||||||
|           git add docs/* |           git add docs/* | ||||||
|           git commit -m "update docs" |           git commit -m "update docs" | ||||||
|           git push |           git push | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user