Skip to content

Commit 4cfa914

Browse files
author
Steven Zeiler
committed
ci(deploy): deploy on Circle given DEPLOY_HOST and DEPLOY_COMMAND variables
1 parent e195334 commit 4cfa914

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.circleci/config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,11 @@ jobs:
4545
docker push $DOCKER_REPO:$CIRCLE_BRANCH
4646
4747
deploy:
48-
machine:
49-
image: ubuntu-2004:202201-02
48+
machine: true
5049
steps:
5150
- run:
5251
name: Deploy to Web Servers
53-
command: echo 'NO DEPLOY! INSERT DEPLOY COMMAND HERE'
52+
command: ssh $DEPLOY_HOST "$DEPLOY_COMMAND"
5453

5554

5655
workflows:

0 commit comments

Comments
 (0)