mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-16 15:36:36 +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(.*)$'
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.DEV_GITHUB_TOKEN }}
|
||||
|
||||
- name: Install swagger-codegen
|
||||
run: brew install swagger-codegen
|
||||
@@ -55,5 +57,4 @@ jobs:
|
||||
|
||||
git add -A
|
||||
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 --force
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user