Skip to content

Commit

Permalink
docs: update workflow demo
Browse files Browse the repository at this point in the history
  • Loading branch information
bjarneo committed Nov 17, 2024
1 parent 2100285 commit 870d081
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ jobs:
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT

- name: Deploy to production
uses: bjarneo/copepod/.github/actions/copepod/action.yml@main
uses: bjarneo/copepod@main
with:
host: remote_host.com
user: deploy_user
ssh_key: ~/.ssh/deploy_key
ssh_key: <PRIVATE_SSH_KEY>
image: myapp
tag: ${{ steps.get_version.outputs.VERSION }}
container_name: myapp_prod
Expand Down Expand Up @@ -220,7 +220,7 @@ jobs:
# Example of rolling back if needed
# NOTE: You want to have a manual approval step in between to ensure you want to rollback
- name: Rollback production
uses: bjarneo/copepod/.github/actions/copepod/action.yml@main
uses: bjarneo/copepod@main
with:
host: remote_host.com
user: deploy_user
Expand Down

0 comments on commit 870d081

Please sign in to comment.