Skip to content

Deploy Now: Build konsila.de · Make to konsila landing page (#1) * Make One Pager * Add IONOS Deploy Now workflow * Remove IONOS Deploy Now workflow from project * Update some stuff * Update some stuff * Fix some more things * Add more stuff * Save colours * Finalise coloring * Make nice in mobile * Remove google analytics * Add PR template --------- Co-authored-by: Lennard Schwarz <[email protected]> Co-authored-by: ionos-deploy-now[bot] <78917126+ionos-deploy-... #11

Deploy Now: Build konsila.de · Make to konsila landing page (#1) * Make One Pager * Add IONOS Deploy Now workflow * Remove IONOS Deploy Now workflow from project * Update some stuff * Update some stuff * Fix some more things * Add more stuff * Save colours * Finalise coloring * Make nice in mobile * Remove google analytics * Add PR template --------- Co-authored-by: Lennard Schwarz <[email protected]> Co-authored-by: ionos-deploy-now[bot] <78917126+ionos-deploy-...

Deploy Now: Build konsila.de · Make to konsila landing page (#1) * Make One Pager * Add IONOS Deploy Now workflow * Remove IONOS Deploy Now workflow from project * Update some stuff * Update some stuff * Fix some more things * Add more stuff * Save colours * Finalise coloring * Make nice in mobile * Remove google analytics * Add PR template --------- Co-authored-by: Lennard Schwarz <[email protected]> Co-authored-by: ionos-deploy-now[bot] <78917126+ionos-deploy-... #11

# Please do not edit this file.
# Build steps can be customized in the konsila.de-build.yaml.
# More information under https://docs.ionos.space/docs/github-actions-customization/
# version: 2022-07-21
name: 'Deploy Now: Orchestration'
run-name: "Deploy Now: Build konsila.de · ${{ github.event.head_commit.message || format('Triggered by {0}', github.triggering_actor) }}"
on:
- push
- workflow_dispatch
jobs:
retrieve-project:
name: check readiness
runs-on: ubuntu-latest
outputs:
deployment-enabled: ${{ fromJson(steps.project.outputs.info).deployment-enabled }}
branch-id: ${{ fromJson(steps.project.outputs.info).branch-id }}
steps:
- name: Fetch project data
uses: ionos-deploy-now/project-action@v1
id: project
with:
api-key: ${{ secrets.IONOS_API_KEY }}
service-host: api-eu.ionos.space
project-id: dafd769b-850b-4316-a7f0-264bd9554d78
action: retrieve-info
build:
name: build
needs: retrieve-project
if: ${{ needs.retrieve-project.outputs.deployment-enabled == 'true' }}
uses: ./.github/workflows/konsila.de-build.yaml
with:
site-url: https://IONOS_DEPLOY_NOW_SITE_URL
branch-id: ${{ needs.retrieve-project.outputs.branch-id }}
secrets: inherit
deploy:
name: trigger deployment
needs:
- retrieve-project
- build
runs-on: ubuntu-latest
steps:
- name: Dispatch deployment(s)
uses: ionos-deploy-now/project-action@v1
with:
api-key: ${{ secrets.IONOS_API_KEY }}
service-host: api-eu.ionos.space
project-id: dafd769b-850b-4316-a7f0-264bd9554d78
branch-id: ${{ needs.retrieve-project.outputs.branch-id }}
action: dispatch-deployments