Update tests.yml
This commit is contained in:
		
							
								
								
									
										24
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										24
									
								
								.github/workflows/tests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -10,12 +10,12 @@ jobs: | |||||||
|     name: Clone, Setup, and Install |     name: Clone, Setup, and Install | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|      |      | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - name: Checkout Repository |       - name: Checkout Repository | ||||||
|         uses: actions/checkout@v3 |         uses: actions/checkout@v3 | ||||||
|         with: |         with: | ||||||
|           ref: main |           ref: main | ||||||
|  |           persist-credentials: true | ||||||
|  |  | ||||||
|       - name: Set up Python 3.9 |       - name: Set up Python 3.9 | ||||||
|         uses: actions/setup-python@v4 |         uses: actions/setup-python@v4 | ||||||
| @@ -114,10 +114,6 @@ jobs: | |||||||
|       contents: write |       contents: write | ||||||
|      |      | ||||||
|     steps:     |     steps:     | ||||||
|       - name: Checkout Repository |  | ||||||
|         uses: actions/checkout@v3 |  | ||||||
|         with: |  | ||||||
|           ref: main |  | ||||||
|    |    | ||||||
|       - uses: actions/download-artifact@v2 |       - uses: actions/download-artifact@v2 | ||||||
|         with: |         with: | ||||||
| @@ -136,10 +132,16 @@ jobs: | |||||||
|           make html && make github && cd .. |           make html && make github && cd .. | ||||||
|           git status |           git status | ||||||
|            |            | ||||||
|       - uses: EndBug/add-and-commit@v9 |       - name: Commit files | ||||||
|  |         run: | | ||||||
|  |           git config --local user.email "actions@github.com" | ||||||
|  |           git config --local user.name "github-actions[bot]" | ||||||
|  |           git add docs/* | ||||||
|  |           git commit -m "update docs" | ||||||
|  |  | ||||||
|  |       - name: Push changes | ||||||
|  |         uses: ad-m/github-push-action@master | ||||||
|         with: |         with: | ||||||
|           default_author: github_actions |           github_token: ${{ secrets.GITHUB_TOKEN }} | ||||||
|           message: update docs |           branch: ${{ github.ref }} | ||||||
|           committer_name: GitHub Actions |           force: true | ||||||
|           committer_email: actions@github.com |  | ||||||
|           add: 'docs/*' |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user