Skip to content

Commit

Permalink
fix: use correct GH credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer committed Nov 7, 2020
1 parent 49570c0 commit 7cb387f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -148,10 +148,12 @@ jobs:
needs: release
if: ${{ needs.release.outputs.skipped == 'false' }}
runs-on: ubuntu-latest
env:
GH_KEY: ${{ secrets.GH_PAT }}
steps:
- name: Push Version
run: |
curl -XPOST -u "jandedobbeleer:${{ secrets.GH_PAT }}" \
curl -XPOST -u "jandedobbeleer:$GH_KEY" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" https://api.github.com/repos/jandedobbeleer/homebrew-oh-my-posh/actions/workflows/release.yml/dispatches \
--data '{"ref": "main", "inputs": {"version": "${{ needs.release.outputs.version }}"} }'
Expand Down

0 comments on commit 7cb387f

Please sign in to comment.