From ae0f0ce664ddff49a107540ae2d27a18881eb83b Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Wed, 13 Dec 2023 21:50:54 -0600 Subject: [PATCH] Add deployment to workflow. --- .gitea/workflows/publish.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 39db3bb..6275913 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -20,9 +20,15 @@ jobs: yarn global add @cerc-io/laconic-registry-cli - name: "Install jq" run: apt -y update && apt -y install jq - - name: "Publish Record" + - name: "Publish Application Record" + env: + CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_CERCIO_USER_KEY }} + CERC_REGISTRY_BOND_ID: ${{ secrets.CICD_CERCIO_BOND_ID }} + CERC_REGISTRY_APP_CRN: "crn://cerc-io/applications/test-progressive-web-app" + run: scripts/publish-app-record.sh + - name: "Request Deployment" env: CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_LACONIC_USER_KEY }} CERC_REGISTRY_BOND_ID: ${{ secrets.CICD_LACONIC_BOND_ID }} CERC_REGISTRY_APP_CRN: "crn://cerc-io/applications/test-progressive-web-app" - run: scripts/publish-app-record.sh + run: scripts/request-app-deployment.sh