Compare commits

...
2 Commits
Author SHA1 Message Date
telackey 3af6bd18f4 Bump version 2023-12-14 15:17:48 +00:00
telackey 2d6b28f3e6 Use the same key/bond for everything. 2023-12-14 15:12:32 +00:00
2 changed files with 56 additions and 56 deletions
+34 -34
View File
@@ -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
+22 -22
View File
@@ -1,22 +1,22 @@
{ {
"private": true, "private": true,
"name": "@cerc-io/test-progressive-web-app", "name": "@cerc-io/test-progressive-web-app",
"version": "0.1.2", "version": "0.1.3",
"repository": "https://git.vdb.to/cerc-io/test-progressive-web-app", "repository": "https://git.vdb.to/cerc-io/test-progressive-web-app",
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"start": "next start" "start": "next start"
}, },
"dependencies": { "dependencies": {
"next": "latest", "next": "latest",
"next-pwa": "^5.6.0", "next-pwa": "^5.6.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0" "react-dom": "^18.2.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "17.0.4", "@types/node": "17.0.4",
"@types/react": "17.0.38", "@types/react": "17.0.38",
"typescript": "4.5.4" "typescript": "4.5.4"
} }
} }