We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b23ad9 commit 2b47a55Copy full SHA for 2b47a55
.github/workflows/generate-page-docs.yml
@@ -31,9 +31,15 @@ jobs:
31
until $(curl -o docs/index.html --silent --head --fail http://0.0.0.0:8000/api/docs); do
32
sleep 1
33
done
34
- - name: Commit index.html
+
35
+ - name: Commit files
36
run: |
- git config --global user.name 'Generate page docs'
37
- git add docs/index.html
38
- git commit -m "Update page docs"
39
- git push origin main
+ git config --local user.email "github-actions[bot]@users.noreply.github.com"
+ git config --local user.name "github-actions[bot]"
+ git commit -a -m "Add changes"
40
41
+ - name: Push changes
42
+ uses: ad-m/github-push-action@master
43
+ with:
44
+ github_token: ${{ secrets.GITHUB_TOKEN }}
45
+ force_with_lease: true
0 commit comments