ci: remove deploy gate (#5946)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
f8e07b5008
commit
c71a70a2e5
|
@ -16,10 +16,5 @@ jobs:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: main
|
ref: main
|
||||||
- id: main-state
|
- run: |
|
||||||
run: |
|
|
||||||
state=$(curl -fsSL -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ github.token }}" "https://api.github.com/repos/${{ github.repository }}/commits/HEAD/status" | jq -r '.state')
|
|
||||||
echo "state=${state}" >> $GITHUB_OUTPUT
|
|
||||||
- if: ${{ steps.main-state.outputs.state == 'success' }}
|
|
||||||
run: |
|
|
||||||
git push origin --force main:next
|
git push origin --force main:next
|
||||||
|
|
Reference in New Issue