Fix API key syntax in deployment workflow #7
This file contains hidden or 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
| # Please do not edit this file. | ||
|
Check failure on line 1 in .github/workflows/https-github.com-base44dev-fs-ai-orchestration.yaml
|
||
| # Build steps can be customized in the https-github.com-base44dev-fs-ai-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 https-github.com-base44dev-fs-ai · ${{ 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: ${{ 014a58734f704b3fa254d3fb843ce371 }} | ||
| service-host: api-eu.ionos.space | ||
| project-id: ef6b6dcc-61ec-45e6-b56a-5f824ecde83c | ||
| action: retrieve-info | ||
| build: | ||
| name: build | ||
| needs: retrieve-project | ||
| if: ${{ needs.retrieve-project.outputs.deployment-enabled == 'true' }} | ||
| uses: ./.github/workflows/https-github.com-base44dev-fs-ai-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: ${{ 014a58734f704b3fa254d3fb843ce371 }} | ||
| service-host: api-eu.ionos.space | ||
| project-id: ef6b6dcc-61ec-45e6-b56a-5f824ecde83c | ||
| branch-id: ${{ needs.retrieve-project.outputs.branch-id }} | ||
| action: dispatch-deployments | ||