Update .gitea/workflows/deploy-namada.yml
This commit is contained in:
parent
b9da3cf0b5
commit
22f9d4a0ce
@ -9,6 +9,14 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
TARGET_REPO: zramsay/namada-interface
|
TARGET_REPO: zramsay/namada-interface
|
||||||
|
CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_LACONIC_USER_KEY }}
|
||||||
|
CERC_REGISTRY_BOND_ID: ${{ secrets.CICD_LACONIC_BOND_ID }}
|
||||||
|
CERC_REGISTRY_RPC_ENDPOINT: "https://laconicd-sapo.laconic.com"
|
||||||
|
CERC_REGISTRY_GQL_ENDPOINT: "https://laconicd-sapo.laconic.com/api"
|
||||||
|
CERC_REGISTRY_CHAIN_ID: "laconic-testnet-2"
|
||||||
|
CERC_REGISTRY_DEPLOYMENT_HOSTNAME: namadillo
|
||||||
|
DEPLOYER_LRN: "lrn://vaasl-provider/deployers/webapp-deployer-api.apps.vaasl.io"
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-latest:
|
check-latest:
|
||||||
@ -40,6 +48,22 @@ jobs:
|
|||||||
if: needs.check-latest.outputs.run_workflow == 'true'
|
if: needs.check-latest.outputs.run_workflow == 'true'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: deploy
|
- name: echo TAG
|
||||||
run: |
|
run: |
|
||||||
echo "New release detected: ${{ needs.check-latest.outputs.latest_tag }}"
|
echo "New release detected: ${{ needs.check-latest.outputs.latest_tag }}"
|
||||||
|
- name: "Clone project repository"
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Use Node.js
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 18
|
||||||
|
- name: "Enable Yarn"
|
||||||
|
run: corepack enable
|
||||||
|
- name: "Install registry CLI"
|
||||||
|
run: |
|
||||||
|
npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/
|
||||||
|
npm install -g @cerc-io/laconic-registry-cli
|
||||||
|
- name: "Install jq"
|
||||||
|
run: sudo apt -y update && sudo apt -y install jq
|
||||||
|
- name: "Deploy Namada"
|
||||||
|
run: deploy.sh $TARGET_REPO ${{ needs.check-latest.outputs.latest_tag }}
|
||||||
|
Loading…
Reference in New Issue
Block a user