Skip to content
This repository has been archived by the owner on Feb 8, 2025. It is now read-only.

Commit

Permalink
Merge pull request #65 from Kerosene-Labs/change-deploy-target
Browse files Browse the repository at this point in the history
Change deploy target
  • Loading branch information
hlafaille authored Dec 15, 2024
2 parents ed886d4 + 2f0f944 commit a0f44cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
- publish_container
runs-on: ubuntu-latest
environment:
name: production
name: develop
steps:
- name: Write Keys
run: mkdir -p ~/.ssh && echo "${{secrets.BASTION_PRIVATE_KEY}}" >> ~/.ssh/bastion && echo "${{secrets.DEPLOYMENT_PRIVATE_KEY}}" >> ~/.ssh/deployment
Expand All @@ -104,4 +104,4 @@ jobs:
echo "SSH_AGENT_PID=$SSH_AGENT_PID" >> $GITHUB_ENV
- name: Update Infrastructure
run: ssh -o "StrictHostKeyChecking no" -A -J infra@bastion.kerosenelabs.com infra@mars1d.kerosenelabs.com "bash -c \"cd develop && export BILLTRACKER_VERSION=${{ github.sha }} && docker compose pull app && docker compose up -d app\""
run: ssh -o "StrictHostKeyChecking no" -A -J infra@bastion.kerosenelabs.com infra@mars1d.kerosenelabs.com "bash -c \"cd billtracker && export BILLTRACKER_VERSION=${{ github.sha }} && docker compose pull app && docker compose up -d app\""
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ jobs:
echo "SSH_AGENT_PID=$SSH_AGENT_PID" >> $GITHUB_ENV
- name: Update Infrastructure
run: ssh -o "StrictHostKeyChecking no" -A -J infra@bastion.kerosenelabs.com infra@mars.kerosenelabs.com "bash -c \"cd production && export BILLTRACKER_VERSION=${{ github.ref_name }}} && docker compose pull app && docker compose up -d app\""
run: ssh -o "StrictHostKeyChecking no" -A -J infra@bastion.kerosenelabs.com infra@mars.kerosenelabs.com "bash -c \"cd billtracker && export BILLTRACKER_VERSION=${{ github.ref_name }}} && docker compose pull app && docker compose up -d app\""

0 comments on commit a0f44cc

Please sign in to comment.