generated from cerc-io/progressive-web-app-template
Update .gitea/workflows/publish.yaml
This commit is contained in:
parent
e36877580a
commit
7c0f297ff6
@ -2,6 +2,10 @@ 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: ${{ env.CICD_REGISTRY_APP_CRN }}
|
||||||
jobs:
|
jobs:
|
||||||
cns_publish:
|
cns_publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -21,14 +25,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
|
|
Loading…
Reference in New Issue
Block a user