Skip to content

Spike/psp 6928#4298

Draft
FuriousLlama wants to merge 19 commits intobcgov:devfrom
FuriousLlama:spike/psp-6928
Draft

Spike/psp 6928#4298
FuriousLlama wants to merge 19 commits intobcgov:devfrom
FuriousLlama:spike/psp-6928

Conversation

@FuriousLlama
Copy link
Collaborator

@FuriousLlama FuriousLlama commented Aug 28, 2024

Sample to code to put gates in the gitactions. Useful for deployment

@FuriousLlama FuriousLlama marked this pull request as draft August 28, 2024 21:52
@github-actions
Copy link
Contributor

✅ No secrets were detected in the code.

deploy-frontend:
name: Frontend
runs-on: ubuntu-latest
environment: ${{inputs.domain}}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stops the execution if the environment has approvals required

Comment on lines +40 to +47
deploy-dev-gate:
name: Dev approval
runs-on: ubuntu-latest
environment: dev
steps:
- name: store image
run: echo "Approval for deployment to DEV"
needs: [build-api, build-frontend]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Job to gate the next events until it has been approved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant