generated from cerc-io/progressive-web-app-template
Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
e35c74178c | |||
6521fd01df | |||
239897d622 | |||
572c78b83f | |||
f7b998664f | |||
2ddbf44e8d | |||
7c0f297ff6 |
@ -2,6 +2,12 @@ name: Publish ApplicationRecord to Registry
|
|||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [published]
|
types: [published]
|
||||||
|
|
||||||
|
env:
|
||||||
|
CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_CERCIO_USER_KEY }}
|
||||||
|
CERC_REGISTRY_BOND_ID: ${{ secrets.CICD_CERCIO_BOND_ID }}
|
||||||
|
CERC_REGISTRY_APP_CRN: ${{ vars.CERC_REGISTRY_APP_CRN }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cns_publish:
|
cns_publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -21,14 +27,6 @@ jobs:
|
|||||||
- 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:
|
|
||||||
CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_CERCIO_USER_KEY }}
|
|
||||||
CERC_REGISTRY_BOND_ID: ${{ secrets.CICD_CERCIO_BOND_ID }}
|
|
||||||
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:
|
run: scripts/request-app-deployment.sh
|
||||||
CERC_REGISTRY_USER_KEY: ${{ secrets.CICD_CERCIO_USER_KEY }}
|
|
||||||
CERC_REGISTRY_BOND_ID: ${{ secrets.CICD_CERCIO_BOND_ID }}
|
|
||||||
CERC_REGISTRY_APP_CRN: "crn://cerc-io/applications/test-progressive-web-app"
|
|
||||||
run: scripts/request-app-deployment.sh
|
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"name": "@telackey/my-test-pwa-001",
|
"name": "@telackey/my-test-pwa-001",
|
||||||
"version": "0.1.0",
|
"version": "0.2.0",
|
||||||
"repository": "https://git.vdb.to/telackey/my-test-pwa-001",
|
"repository": "https://git.vdb.to/telackey/my-test-pwa-001",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
|
Loading…
Reference in New Issue
Block a user