Skip to content

Commit

Permalink
Merge pull request #28 from homarr-labs/fix/sync-docs
Browse files Browse the repository at this point in the history
fix(sync-docs): use HOMARR_DOCS_SYNC_APP_PRIVATE_KEY token
  • Loading branch information
oben01 authored Jan 2, 2025
2 parents d1adbdd + 137a542 commit 048a0d3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/sync-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,17 @@ jobs:
git add .
git commit -m "docs(helm): Update Helm chart documentation" || echo "No changes to commit"
- name: Obtain token
id: obtainToken
uses: tibdex/github-app-token@v2
with:
private_key: ${{ secrets.HOMARR_DOCS_SYNC_APP_PRIVATE_KEY }}
app_id: ${{ vars.HOMARR_DOCS_SYNC_APP_ID }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ steps.obtainToken.outputs.token }}
branch: update-helm-docs
# TODO: Change to the main branch on stable release
base: docs/version-1.0
Expand Down

0 comments on commit 048a0d3

Please sign in to comment.