mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-27 04:46:35 +00:00
Use bot token on checkout step (#113)
This commit is contained in:
5
.github/workflows/generate_api_pages.yml
vendored
5
.github/workflows/generate_api_pages.yml
vendored
@@ -20,6 +20,8 @@ jobs:
|
|||||||
version_extractor_regex: '\/v(.*)$'
|
version_extractor_regex: '\/v(.*)$'
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.DEV_GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Install swagger-codegen
|
- name: Install swagger-codegen
|
||||||
run: brew install swagger-codegen
|
run: brew install swagger-codegen
|
||||||
@@ -55,5 +57,4 @@ jobs:
|
|||||||
|
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "Update API pages with v${{ steps.semver_parser.outputs.fullversion }}"
|
git commit -m "Update API pages with v${{ steps.semver_parser.outputs.fullversion }}"
|
||||||
git remote set-url origin https://netbirddev:${{ secrets.DEV_GITHUB_TOKEN }}@github.com/${{ github.repository }}
|
git push
|
||||||
git push --force
|
|
||||||
|
|||||||
Reference in New Issue
Block a user