Skip to content

Commit

Permalink
feat: Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
suk-6 committed Jul 13, 2024
1 parent 2838da4 commit f240c4c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: React build apple

on:
push:
branches:
- main

jobs:
React-Build-ssh-action:
runs-on: ubuntu-latest
name: Build
steps:
- name: SSH Remote Commands
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
timeout: 30s
script: |
cd /root/adego-api
git pull
docker compose up -d --build

0 comments on commit f240c4c

Please sign in to comment.