Skip to content

Commit

Permalink
server: tweak default deployment targets
Browse files Browse the repository at this point in the history
  • Loading branch information
Bizzonium committed Aug 20, 2024
1 parent aaf1240 commit 4305c29
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,40 @@ on:
workflow_dispatch:
inputs:
ci_required:
description: "CI Suite is required"
description: 'CI Suite is required'
type: boolean
required: true
default: true
perform_deploy_main:
description: "Deploy Paradise Main/Secondary"
description: 'Deploy Paradise Main/Secondary'
type: boolean
required: true
default: true
perform_deploy_vega:
description: "Deploy Paradise Vega"
description: 'Deploy Paradise Vega'
type: boolean
required: true
default: true
perform_deploy_cleo:
description: "Deploy Paradise Cleo"
description: 'Deploy Paradise Cleo'
type: boolean
required: true
default: true
perform_deploy_prime:
description: "Deploy Paradise Prime"
description: 'Deploy Paradise Prime'
type: boolean
required: true
default: true
default: false
perform_deploy_wl:
description: "Deploy Paradise WL"
description: 'Deploy Paradise WL'
type: boolean
required: true
default: true
default: false
perform_deploy_tutorial:
description: "Deploy Paradise Tutorial"
description: 'Deploy Paradise Tutorial'
type: boolean
required: true
default: true
default: false

jobs:
check:
Expand Down Expand Up @@ -120,13 +120,13 @@ jobs:
name: Create GitHub deployment
id: deployment
with:
token: "${{ github.token }}"
token: '${{ github.token }}'
environment: ${{ matrix.environment }}
environment-url: ${{ vars.ENVIRONMENT_URL }}
log-url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
log-url: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
ref: ${{ vars.BRANCH }}
production-environment: true
initial-status: "in_progress"
initial-status: 'in_progress'

- name: Update and Build Paradise Main
if: matrix.environment == 'Main' && inputs.perform_deploy_main
Expand Down Expand Up @@ -228,22 +228,22 @@ jobs:
success()
uses: chrnorm/deployment-status@v2
with:
token: "${{ github.token }}"
token: '${{ github.token }}'
environment-url: ${{ steps.deployment.outputs.environment_url }}
log-url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
log-url: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
state: "success"
state: 'success'

- name: Update deployment status (failure)
if: |
failure()
uses: chrnorm/deployment-status@v2
with:
token: "${{ github.token }}"
token: '${{ github.token }}'
environment-url: ${{ steps.deployment.outputs.environment_url }}
log-url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
log-url: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
state: "failure"
state: 'failure'

delete-automatic-deployments:
name: Delete Automatic Deployments
Expand Down

0 comments on commit 4305c29

Please sign in to comment.