From d723c31cd2386c16fa3506dea9e0b425f151f684 Mon Sep 17 00:00:00 2001 From: zramsay Date: Wed, 13 Dec 2023 15:16:33 +0000 Subject: [PATCH] Update .gitea/workflows/publish.yaml --- .gitea/workflows/publish.yaml | 56 +++++++++++++++++------------------ 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 39db3bb..8cba307 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -1,28 +1,28 @@ -name: Publish ApplicationRecord to Registry -on: - release: - types: [published] -jobs: - cns_publish: - runs-on: ubuntu-latest - steps: - - name: "Clone project repository" - uses: actions/checkout@v3 - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - - name: "Install Yarn" - run: npm install -g yarn - - name: "Install registry CLI" - run: | - npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/ - yarn global add @cerc-io/laconic-registry-cli - - name: "Install jq" - run: apt -y update && apt -y install jq - - name: "Publish Record" - 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 +name: Publish ApplicationRecord to Registry +on: + release: + types: [published] +jobs: + cns_publish: + runs-on: ubuntu-latest + steps: + - name: "Clone project repository" + uses: actions/checkout@v3 + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 + - name: "Install Yarn" + run: npm install -g yarn + - name: "Install registry CLI" + run: | + npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/ + yarn global add @cerc-io/laconic-registry-cli + - name: "Install jq" + run: apt -y update && apt -y install jq + - name: "Publish Record" + env: + CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_LACONIC_USER_KEY }} + CERC_REGISTRY_BOND_ID: ${{ secrets.CICD_LACONIC_BOND_ID }} + CERC_REGISTRY_APP_CRN: "crn://osmosis/applications/test-progressive-web-app" + run: scripts/publish-app-record.sh