1
0
Fork 0
mirror of synced 2024-06-26 18:10:51 +12:00

adding preprod deploy

This commit is contained in:
Martin McKeaveney 2021-12-17 15:27:46 +01:00
parent df469c9784
commit 1348df0cb0
3 changed files with 10 additions and 3 deletions

View file

@ -56,6 +56,6 @@ jobs:
uses: tsickert/discord-webhook@v4.0.0
with:
webhook-url: ${{ secrets.PROD_DEPLOY_WEBHOOK_URL }}
content: "Production Deployment Complete: ${{ env.RELEASE_VERSION }} deployed to budibase cloud."
content: "Production Deployment Complete: ${{ env.RELEASE_VERSION }} deployed to Budibase Cloud."
embed-title: ${{ env.RELEASE_VERSION }}

View file

@ -3,7 +3,7 @@ name: Budibase Release
on:
push:
branches:
- test
- master
env:
POSTHOG_TOKEN: ${{ secrets.POSTHOG_TOKEN }}
@ -80,3 +80,10 @@ jobs:
]
env:
KUBECONFIG_FILE: '${{ secrets.PREPROD_KUBECONFIG }}'
- name: Discord Webhook Action
uses: tsickert/discord-webhook@v4.0.0
with:
webhook-url: ${{ secrets.PROD_DEPLOY_WEBHOOK_URL }}
content: "Preprod Deployment Complete: ${{ env.RELEASE_VERSION }} deployed to Budibase Pre-prod."
embed-title: ${{ env.RELEASE_VERSION }}

View file

@ -24,7 +24,7 @@
"publishdev": "lerna run publishdev",
"publishnpm": "yarn build && lerna publish --force-publish",
"release": "lerna publish patch --yes --force-publish",
"release:develop": "yarn build && lerna publish prerelease --yes --force-publish --dist-tag develop",
"release:develop": "lerna publish prerelease --yes --force-publish --dist-tag develop",
"restore": "yarn run clean && yarn run bootstrap && yarn run build",
"nuke": "yarn run nuke:packages && yarn run nuke:docker",
"nuke:packages": "yarn run restore",