Skip to content

Commit

Permalink
Deploy to dev from this branch temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
snormore committed Sep 27, 2023
1 parent 69e9675 commit a1811d3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy Nodes
on:
push:
branches:
- main
- upgrade-gowaku-v0.8.0
jobs:
deploy:
concurrency: main
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Push
id: push
run: |
export DOCKER_IMAGE_TAG=latest
export DOCKER_IMAGE_TAG=dev
IMAGE_TO_DEPLOY=xmtp/node-go@$(dev/docker/build)
echo Successfully pushed $IMAGE_TO_DEPLOY
echo "docker_image=${IMAGE_TO_DEPLOY}" >> $GITHUB_OUTPUT
Expand All @@ -43,12 +43,12 @@ jobs:
variable-value: ${{ steps.push.outputs.docker_image }}
variable-value-required-prefix: "xmtp/node-go@sha256:"

- name: Deploy (production)
uses: xmtp-labs/terraform-deployer@v1
with:
terraform-token: ${{ secrets.TERRAFORM_TOKEN }}
terraform-org: xmtp
terraform-workspace: production
variable-name: xmtp_node_image
variable-value: ${{ steps.push.outputs.docker_image }}
variable-value-required-prefix: "xmtp/node-go@sha256:"
# - name: Deploy (production)
# uses: xmtp-labs/terraform-deployer@v1
# with:
# terraform-token: ${{ secrets.TERRAFORM_TOKEN }}
# terraform-org: xmtp
# terraform-workspace: production
# variable-name: xmtp_node_image
# variable-value: ${{ steps.push.outputs.docker_image }}
# variable-value-required-prefix: "xmtp/node-go@sha256:"

0 comments on commit a1811d3

Please sign in to comment.