Skip to content

Commit

Permalink
Split jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
LimJunxue committed Nov 14, 2023
1 parent d4d505b commit a390d30
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- cd

jobs:
deploy:
push:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -36,10 +36,14 @@ jobs:
echo "$KEY6" >> keys/server_host_name.txt
echo "$KEY7" >> keys/server_host_did.txt
echo "$KEY8" >> keys/server_host_po_did.txt
docker-compose -f docker-compose-sbip.yaml build
docker-compose -f docker-compose-sbip.yaml push
pull:
runs-on: ubuntu-latest

steps:
- name: SSH into SBIP Server and Deploy
uses: appleboy/ssh-action@master
with:
Expand Down

0 comments on commit a390d30

Please sign in to comment.