From 10736cedf282744942eb5fd765b69d69b93df674 Mon Sep 17 00:00:00 2001 From: Hussam Date: Tue, 19 Sep 2023 10:04:31 -0500 Subject: [PATCH] Add sandbox action --- .github/workflows/deploy-sandbox.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/deploy-sandbox.yml diff --git a/.github/workflows/deploy-sandbox.yml b/.github/workflows/deploy-sandbox.yml new file mode 100644 index 0000000..7b0fb29 --- /dev/null +++ b/.github/workflows/deploy-sandbox.yml @@ -0,0 +1,16 @@ +name: Build and Deploy to Sandbox +on: workflow_dispatch +jobs: + buildDeploySandbox: + uses: ./.github/workflows/build-deploy.yml + secrets: + DOCKER: ${{ secrets.DOCKER }} + GH_PAT: ${{ secrets.GH_PAT }} + GKE_SA_KEY: ${{ secrets.GKE_SA_KEY }} + GKE_PROJECT: ${{ secrets.GKE_PROJECT }} + 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" ]]'