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 22, 2024
1 parent b30720f commit a5863a6
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ name: Deploy Nodes
on:
push:
branches:
- main
# - main
- snor/deployer-timeout
jobs:
deploy:
concurrency: main
Expand All @@ -28,7 +29,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 @@ -45,14 +46,14 @@ 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: 45
with:
timeout: 45m
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
# timeout-minutes: 45
# with:
# timeout: 45m
# 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 a5863a6

Please sign in to comment.