diff --git a/README.md b/README.md index 48b5a09..fe0106b 100644 --- a/README.md +++ b/README.md @@ -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: image: myapp tag: ${{ steps.get_version.outputs.VERSION }} container_name: myapp_prod @@ -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