/pantheon_deploy.yml Secret
Created
February 6, 2023 19:48
Terminus safe deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pantheon Deploy | |
run-name: Deploy to ${{ inputs.environment_name }} (@${{ github.actor }}) | |
on: | |
workflow_dispatch: | |
inputs: | |
environment_name: | |
type: choice | |
description: Which Pantheon environment to deploy to | |
options: | |
- test | |
- live | |
deploy_message: | |
type: string | |
deploy_force: | |
type: boolean | |
default: false | |
description: Force deployment even if there is overridden configuration on the target environment | |
post_import_config: | |
type: boolean | |
default: true | |
description: Import configuration after deployment | |
post_db_update: | |
type: boolean | |
default: true | |
description: Run DB updates after deployment | |
clear_env_cache: | |
type: boolean | |
default: true | |
description: Clear target environment cache | |
slack_alert: | |
type: boolean | |
default: true | |
description: Alert Slack | |
jobs: | |
deploy: | |
uses: lastcallmedia/github-actions/.github/workflows/terminus-safe-deploy.yml@main | |
secrets: | |
TERMINUS_DOWNSTREAM_SSH_KEY: ${{ secrets.PANTHEON_PRIVATE_SSH_KEY }} | |
TERMINUS_MACHINE_TOKEN: ${{ secrets.TERMINUS_MACHINE_TOKEN }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment