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