diff --git a/.github/workflows/crucible-ci.yaml b/.github/workflows/crucible-ci.yaml index 8d13987..16655c3 100644 --- a/.github/workflows/crucible-ci.yaml +++ b/.github/workflows/crucible-ci.yaml @@ -19,4 +19,4 @@ jobs: ci_target_branch: "${{ github.ref }}" github_workspace: "$GITHUB_WORKSPACE" secrets: - registry_auth: ${{ secrets.CRUCIBLE_CI_ENGINES_REGISTRY_AUTH }} + ci_registry_auth: ${{ secrets.CRUCIBLE_CI_ENGINES_REGISTRY_AUTH }} diff --git a/.github/workflows/crucible-merged.yaml b/.github/workflows/crucible-merged.yaml new file mode 100644 index 0000000..e230171 --- /dev/null +++ b/.github/workflows/crucible-merged.yaml @@ -0,0 +1,24 @@ +name: crucible-merged + +on: + pull_request_target: + types: [ closed ] + branches: [ master ] + paths-ignore: + - LICENSE + - '**.md' + - .github/workflows/faux-crucible-ci.yaml + - .github/workflows/faux-workshop-ci.yaml + - 'docs/**' + workflow_dispatch: + +jobs: + call-core-crucible-ci_if-merged: + if: github.event.pull_request.merged == true + uses: perftool-incubator/crucible-ci/.github/workflows/core-crucible-ci.yaml@main + with: + ci_target: "workshop" + ci_target_branch: "master" + github_workspace: "$GITHUB_WORKSPACE" + secrets: + production_registry_auth: ${{ secrets.CRUCIBLE_PRODUCTION_ENGINES_REGISTRY_AUTH }}