From f9399c02467aa07ebdc40f8523e94fc609baf8f9 Mon Sep 17 00:00:00 2001 From: "ionos-deploy-now[bot]" <78917126+ionos-deploy-now[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:18:11 +0000 Subject: [PATCH] Add IONOS Deploy Now workflow --- .github/workflows/rsv-dossier-build.yaml | 8 +++++--- .github/workflows/rsv-dossier-orchestration.yaml | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rsv-dossier-build.yaml b/.github/workflows/rsv-dossier-build.yaml index 727ba26..536abb2 100644 --- a/.github/workflows/rsv-dossier-build.yaml +++ b/.github/workflows/rsv-dossier-build.yaml @@ -14,7 +14,7 @@ on: type: string env: - DEPLOYMENT_FOLDER: dist/ + DEPLOYMENT_FOLDER: dist jobs: # Please do not rename this job @@ -36,7 +36,9 @@ jobs: env: CI: true SITE_URL: ${{ inputs.site-url }} - run: npm ci + run: | + npm ci + npm run build # Please do not touch the following action - name: Store deployment content @@ -44,7 +46,7 @@ jobs: with: api-key: ${{ secrets.IONOS_API_KEY }} service-host: api-eu.ionos.space - project-id: 5b0fc9aa-c07a-4d8c-a9e0-51c27e10a039 + project-id: b4a00a11-4c08-44a7-8961-4cdeebb6ef2c branch-id: ${{ inputs.branch-id }} version: ${{ github.sha }} folder: ${{ env.DEPLOYMENT_FOLDER }} diff --git a/.github/workflows/rsv-dossier-orchestration.yaml b/.github/workflows/rsv-dossier-orchestration.yaml index 6dde502..3b8702c 100644 --- a/.github/workflows/rsv-dossier-orchestration.yaml +++ b/.github/workflows/rsv-dossier-orchestration.yaml @@ -24,7 +24,7 @@ jobs: with: api-key: ${{ secrets.IONOS_API_KEY }} service-host: api-eu.ionos.space - project-id: 5b0fc9aa-c07a-4d8c-a9e0-51c27e10a039 + project-id: b4a00a11-4c08-44a7-8961-4cdeebb6ef2c action: retrieve-info @@ -50,6 +50,6 @@ jobs: with: api-key: ${{ secrets.IONOS_API_KEY }} service-host: api-eu.ionos.space - project-id: 5b0fc9aa-c07a-4d8c-a9e0-51c27e10a039 + project-id: b4a00a11-4c08-44a7-8961-4cdeebb6ef2c branch-id: ${{ needs.retrieve-project.outputs.branch-id }} action: dispatch-deployments