test-progressive-web-app/.gitea/workflows/publish.yaml
Thomas E Lackey 571cb8b4e2
Some checks failed
Publish ApplicationRecord to Registry / cns_publish (pull_request) Failing after 53s
Trigger
2023-11-22 17:04:00 -06:00

30 lines
861 B
YAML

name: Publish ApplicationRecord to Registry
on:
pull_request:
branches:
- '*'
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: "Publish Record"
run: |
CERC_REPO_TAG=${{ github.sha }} \
CERC_LACONIC_BOND_ID=$CICD_LACONIC_BOND_ID \
CERC_LACONIC_USER_KEY=$CICD_LACONIC_USER_KEY \
scripts/publish-app-record.sh