From a390d30fe6d535885f0ac18ede981b8b1133161a Mon Sep 17 00:00:00 2001 From: Lim Junxue Date: Tue, 14 Nov 2023 15:18:45 +0800 Subject: [PATCH] Split jobs --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a71e254..1ec01a4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ on: - cd jobs: - deploy: + push: runs-on: ubuntu-latest steps: @@ -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: