Skip to content

Commit

Permalink
removing copy to see if ssh script fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mdr223 committed Aug 18, 2023
1 parent c4b09de commit 10b18ca
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add /home/runner/.ssh/id_rsa_submit
# copy repository to machine
- name: Copy Repository
run: |
scp -r ${{ github.workspace}} submit:~/
# # copy repository to machine
# - name: Copy Repository
# run: |
# scp -r ${{ github.workspace}} submit:~/

# run deploy script
- name: Run Deploy Script
Expand Down
8 changes: 8 additions & 0 deletions deploy/dev-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

echo `pwd`
ls
# tmux new-session -d -s chat-service './deploy/run_chat.sh'
# tmux new-session -d -s cleo-service './deploy/run_cleo.sh'
# tmux new-session -d -s mailer-service './deploy/run_mailbox.sh'
# tmux new-session -d -s scraper-service './deploy/run_scraper.sh'
4 changes: 4 additions & 0 deletions deploy/run_chat.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

source venv/bin/activate
python bin/service_chat.py
Empty file added deploy/run_cleo.sh
Empty file.
Empty file added deploy/run_mailbox.sh
Empty file.
Empty file added deploy/run_scraper.sh
Empty file.

0 comments on commit 10b18ca

Please sign in to comment.