diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 1c9ca850..94704b58 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -772,7 +772,11 @@ jobs: deploy-staging: name: Auto-deploy to Staging needs: [changes, build, runtime-base] - if: (github.ref_name == 'staging' || github.head_ref == 'staging' || (github.ref_name == '' && contains(github.ref, 'staging'))) && needs.changes.outputs.needs_build == 'true' + if: > + (github.ref_name == 'staging' || github.head_ref == 'staging' || (github.ref_name == '' && contains(github.ref, 'staging'))) + && needs.changes.result == 'success' + && (needs.build.result == 'success' || needs.build.result == 'skipped') + && (needs.runtime-base.result == 'success' || needs.runtime-base.result == 'skipped') runs-on: ubuntu-latest environment: name: staging diff --git a/src/Framework/Storage/ObjectInfo.php b/src/Framework/Storage/ObjectInfo.php new file mode 100644 index 00000000..bb6e36de --- /dev/null +++ b/src/Framework/Storage/ObjectInfo.php @@ -0,0 +1,16 @@ +