mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-27 03:49:40 -08:00
fix: use correct GH credentials
This commit is contained in:
parent
49570c0aaa
commit
7cb387f658
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -148,10 +148,12 @@ jobs:
|
||||||
needs: release
|
needs: release
|
||||||
if: ${{ needs.release.outputs.skipped == 'false' }}
|
if: ${{ needs.release.outputs.skipped == 'false' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
GH_KEY: ${{ secrets.GH_PAT }}
|
||||||
steps:
|
steps:
|
||||||
- name: Push Version
|
- name: Push Version
|
||||||
run: |
|
run: |
|
||||||
curl -XPOST -u "jandedobbeleer:${{ secrets.GH_PAT }}" \
|
curl -XPOST -u "jandedobbeleer:$GH_KEY" \
|
||||||
-H "Accept: application/vnd.github.everest-preview+json" \
|
-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 \
|
-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 }}"} }'
|
--data '{"ref": "main", "inputs": {"version": "${{ needs.release.outputs.version }}"} }'
|
||||||
|
|
Loading…
Reference in a new issue