Skip to content

Commit

Permalink
Deploy this branch to dev for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Normore committed Feb 21, 2024
1 parent 9b33511 commit e0d9f57
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ name: Deploy Nodes
on:
push:
branches:
- main
# - main
- tsachi/topics-count-limit
jobs:
deploy:
concurrency: main
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Set up Docker Buildx
id: buildx
Expand All @@ -28,14 +30,13 @@ 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
- name: Deploy (dev)
uses: xmtp-labs/terraform-deployer@v1
timeout-minutes: 60
with:
terraform-token: ${{ secrets.TERRAFORM_TOKEN }}
terraform-org: xmtp
Expand All @@ -44,13 +45,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
timeout-minutes: 60
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 e0d9f57

Please sign in to comment.