Skip to content

Commit

Permalink
Added initial deploy workflow for private GitHub runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Petar-CV committed Nov 20, 2024
1 parent d7953b0 commit 4d7c38b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Deploy to Personal VPS

on:
push:
branches:
- production

jobs:
deploy:
runs-on: self-hosted

steps:
- name: Checkout code
uses: actions/[email protected]

- name: Build and deploy compose file
run: |
docker compose down
docker compose up -d --build

0 comments on commit 4d7c38b

Please sign in to comment.