Use the same key/bond for everything.
This commit is contained in:
parent
bee6fae753
commit
2d6b28f3e6
@ -1,34 +1,34 @@
|
|||||||
name: Publish ApplicationRecord to Registry
|
name: Publish ApplicationRecord to Registry
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
jobs:
|
jobs:
|
||||||
cns_publish:
|
cns_publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: "Clone project repository"
|
- name: "Clone project repository"
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18
|
node-version: 18
|
||||||
- name: "Install Yarn"
|
- name: "Install Yarn"
|
||||||
run: npm install -g yarn
|
run: npm install -g yarn
|
||||||
- name: "Install registry CLI"
|
- name: "Install registry CLI"
|
||||||
run: |
|
run: |
|
||||||
npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/
|
npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/
|
||||||
yarn global add @cerc-io/laconic-registry-cli
|
yarn global add @cerc-io/laconic-registry-cli
|
||||||
- name: "Install jq"
|
- name: "Install jq"
|
||||||
run: apt -y update && apt -y install jq
|
run: apt -y update && apt -y install jq
|
||||||
- name: "Publish Application Record"
|
- name: "Publish Application Record"
|
||||||
env:
|
env:
|
||||||
CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_CERCIO_USER_KEY }}
|
CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_CERCIO_USER_KEY }}
|
||||||
CERC_REGISTRY_BOND_ID: ${{ secrets.CICD_CERCIO_BOND_ID }}
|
CERC_REGISTRY_BOND_ID: ${{ secrets.CICD_CERCIO_BOND_ID }}
|
||||||
CERC_REGISTRY_APP_CRN: "crn://cerc-io/applications/test-progressive-web-app"
|
CERC_REGISTRY_APP_CRN: "crn://cerc-io/applications/test-progressive-web-app"
|
||||||
run: scripts/publish-app-record.sh
|
run: scripts/publish-app-record.sh
|
||||||
- name: "Request Deployment"
|
- name: "Request Deployment"
|
||||||
env:
|
env:
|
||||||
CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_LACONIC_USER_KEY }}
|
CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_CERCIO_USER_KEY }}
|
||||||
CERC_REGISTRY_BOND_ID: ${{ secrets.CICD_LACONIC_BOND_ID }}
|
CERC_REGISTRY_BOND_ID: ${{ secrets.CICD_CERCIO_BOND_ID }}
|
||||||
CERC_REGISTRY_APP_CRN: "crn://cerc-io/applications/test-progressive-web-app"
|
CERC_REGISTRY_APP_CRN: "crn://cerc-io/applications/test-progressive-web-app"
|
||||||
run: scripts/request-app-deployment.sh
|
run: scripts/request-app-deployment.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user