Skip to content

Commit

Permalink
use deploy key (#32)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Meijer <[email protected]>
  • Loading branch information
ameijer authored Oct 3, 2024
1 parent ca198ef commit c71ddf0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/update-manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
- uses: actions/checkout@v4
with:
path: ./
ssh-key: ${{ secrets.GH_SSH_KEY}}
persist-credentials: true
- name: update current plugin list
run: |
plugins=$(ls pkg/plugins | tr -s ' ' | sort)
Expand All @@ -36,15 +38,15 @@ jobs:
# github_token:
- name: Commit changes
run: |
git config --local user.email "ccolvin@kubecost.com"
git config --local user.name "cliffcolvin"
git config --local user.email "github-actions[bot]@noreply.example.com"
git config --local user.name "github-actions[bot]"
git add manifest
git commit -m "update manifest"
- name: Push chart to repo
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GH_PAT }}
ssh: true
directory: .
repository: opencost/opencost-plugins
branch: main
Expand Down

0 comments on commit c71ddf0

Please sign in to comment.