Skip to content

Build and Deploy to Sandbox #4

Build and Deploy to Sandbox

Build and Deploy to Sandbox #4

name: Build and Deploy to Sandbox
on: workflow_dispatch
jobs:
buildDeploySandbox:
if: github.event.pull_request.merged == true
uses: ./.github/workflows/build-deploy.yml
secrets:
DOCKER: ${{ secrets.DOCKER }}
GH_PAT: ${{ secrets.GH_PAT }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
with:
env: quai-sandbox
awk: sed -e "s/pre/rc/g" | awk -F . '{print $1"."$2"."$3"."$4+1}'
rails: '[[ ! "$VERSION" =~ "pre" ]]'