Skip to content

Commit

Permalink
Add deploy commands
Browse files Browse the repository at this point in the history
  • Loading branch information
danlooo committed Dec 2, 2024
1 parent c03c662 commit 0fb53b3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
ci:
deploy_app:
environment: default
runs-on: self-hosted
steps:
Expand All @@ -28,4 +28,9 @@ jobs:
- uses: actions/checkout@v4
- name: Deploy website
run: |
ssh app hostname
ssh app sh <<EOF
cd FAIRSenDD
git pull
cd infrastructure/app
docker compose up --build --detach
EOF

0 comments on commit 0fb53b3

Please sign in to comment.