Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 1 addition & 31 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,38 +330,8 @@ jobs:
--environment=${KOSLI_AWS_BETA}


approve-deployment-to-beta:
runs-on: ubuntu-latest
needs: [build-image, sdlc-control-gate]
env:
KOSLI_FINGERPRINT: ${{ needs.build-image.outputs.digest }}
environment:
name: staging
url: https://beta.cyber-dojo.org
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit

- uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Setup Kosli CLI
uses: kosli-dev/setup-cli-action@v3
with:
version: ${{ vars.KOSLI_CLI_VERSION }}

- name: Attest approval of deployment to Kosli
run:
kosli report approval
--approver="${{ github.actor }}"
--environment=${KOSLI_AWS_BETA}


deploy-to-beta:
needs: [setup, build-image, approve-deployment-to-beta]
needs: [setup, build-image, sdlc-control-gate]
permissions:
id-token: write
contents: write
Expand Down
Loading