Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro Marton committed Mar 28, 2024
1 parent 9471483 commit fd1afb0
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions .github/workflows/deploy-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,16 @@ jobs:
name: Deploy compose
runs-on: ubuntu-latest
steps:
- name: Deploy docker compose
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i"
SOURCE: "deploy/app/docker-compose.yml"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: "/var/data/services/test-gallowhead/"
EXCLUDE: "/dist/, /node_modules/"
SCRIPT_BEFORE: |
echo "Starting deployment ..."
if [ ! -d /var/data/services/test-gallowhead]; then
mkdir /var/data/services/test-gallowhead
fi
- uses: actions/checkout@v4
- name: copy file via ssh password
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.PORT }}
source: "deploy/app/docker-compose.yml"
target: /var/data/services/test-gallowhead/"

start-container:
name: Start container
Expand Down

0 comments on commit fd1afb0

Please sign in to comment.