-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update woodpecker config to use new ip
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,8 +28,8 @@ steps: | |
- apk add rsync openssh-client | ||
- eval `ssh-agent -s` | ||
- echo "$SSH_KEY" | tr -d '\r' | ssh-add - | ||
- rsync -e "ssh -o StrictHostKeyChecking=no" -r ./* [email protected].68.120:/home/vylpes/apps/card-drop/card-drop_stage | ||
- ssh [email protected].68.120 BOT_TOKEN='$${stage_bot_token}' 'bash -s' < ./scripts/deploy_stage.sh | ||
- rsync -e "ssh -o StrictHostKeyChecking=no" -r ./* [email protected].1.115:/home/vylpes/apps/card-drop/card-drop_stage | ||
- ssh [email protected].1.115 BOT_TOKEN='$${stage_bot_token}' 'bash -s' < ./scripts/deploy_stage.sh | ||
when: | ||
event: push | ||
branch: [ develop ] | ||
|
@@ -40,8 +40,8 @@ steps: | |
- apk add rsync openssh-client | ||
- eval `ssh-agent -s` | ||
- echo "$SSH_KEY" | tr -d '\r' | ssh-add - | ||
- rsync -e "ssh -o StrictHostKeyChecking=no" -r ./* [email protected].68.120:/home/vylpes/apps/card-drop/card-drop_prod | ||
- ssh [email protected].68.120 BOT_TOKEN='$${prod_bot_token}' 'bash -s' < ./scripts/deploy_prod.sh | ||
- rsync -e "ssh -o StrictHostKeyChecking=no" -r ./* [email protected].1.115:/home/vylpes/apps/card-drop/card-drop_prod | ||
- ssh [email protected].1.115 BOT_TOKEN='$${prod_bot_token}' 'bash -s' < ./scripts/deploy_prod.sh | ||
when: | ||
event: push | ||
branch: [ main ] |