done #5
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
name: Hello World | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout our repository | |
uses: actions/checkout@v4 | |
- name: Deploy | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.SSH_HOST }} | |
username: ${{ secrets.SSH_USER }} | |
key: ${{ secrets.SSH_PASSWORD }} | |
port: ${{ secrets.SSH_PORT }} | |
script: | | |
pwd | |
ls | |
cd ubuntu | |
cd finance/api_gateway-personal_finance | |
sudo docker compose down | |
sudo docker compose up -d | |
cd .. | |
cd auth-personal_finance- | |
sudo docker compose down | |
sudo docker compose up -d | |
sudo docker compose up -d | |
cd .. | |
cd Budget-personal_finance- | |
sudo docker compose down | |
sudo docker compose up -d | |
cd .. | |