Use explicit Gitea revision variables
Publish and promote Helm chart / chart (push) Failing after 1m20s
Publish and promote Helm chart / chart (push) Failing after 1m20s
This commit is contained in:
1 parent
b8cbdf059d
commit
b1ad321edc
1 file changed
+3
-1
@@ -26,9 +26,11 @@ jobs:
|
||||
https://code.brunner.ninja/api/packages/feedc0de/helm/api/charts
|
||||
- name: Check that this is still current main
|
||||
if: gitea.ref == 'refs/heads/main'
|
||||
env:
|
||||
COMMIT_SHA: ${{ gitea.sha }}
|
||||
run: |
|
||||
git fetch --no-tags origin main
|
||||
test "$(git rev-parse FETCH_HEAD)" = "${GITEA_SHA}"
|
||||
test "$(git rev-parse FETCH_HEAD)" = "${COMMIT_SHA}"
|
||||
- name: Check out GitOps
|
||||
if: gitea.ref == 'refs/heads/main'
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in new issue
Block a user