mirror of
https://github.com/findingfrankie/laconic-astrowind.git
synced 2026-01-24 21:44:07 +00:00
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
name: Publish ApplicationRecord to Registry
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
push:
|
|
branches:
|
|
- master
|
|
- '*'
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_LACONIC_USER_KEY }}
|
|
CERC_REGISTRY_BOND_ID: ${{ secrets.CICD_LACONIC_BOND_ID }}
|
|
CERC_REGISTRY_RPC_ENDPOINT: "https://laconicd-mainnet-1.laconic.com"
|
|
CERC_REGISTRY_GQL_ENDPOINT: "https://laconicd-mainnet-1.laconic.com/api"
|
|
CERC_REGISTRY_CHAIN_ID: "laconic-mainnet"
|
|
CERC_REGISTRY_DEPLOYMENT_HOSTNAME: new-laconic-website
|
|
APP_NAME: "laconic-website"
|
|
DEPLOYER_LRN: "lrn://mito-systems/deployers/webapp-deployer-api.pwa.laconic.audubon.app"
|
|
AUTHORITY: "mito-systems"
|
|
CERC_APP_TYPE: "webapp"
|
|
|
|
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 dependencies"
|
|
run: |
|
|
sudo apt -y update && sudo apt -y install jq
|
|
npm config set @cerc-io:registry https://git.vdb.to/api/packages/cerc-io/npm/
|
|
npm install -g @cerc-io/laconic-registry-cli
|
|
|
|
- name: "Publish App Record"
|
|
run: ./scripts/deploy.sh
|