Skip to content

Commit

Permalink
actions: add auto deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
jbcarreon123 authored Feb 19, 2024
1 parent b271f0a commit 572225d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Update Server

on:
push:
branches:
- main

jobs:
update_server:
runs-on: sh-jb-1

steps:
- name: Stop App
run: |
docker stop liberation
- name: Fetch Updates and Restart App
run: |
cd ~/Liberation
git pull
docker-compose up -d --build

0 comments on commit 572225d

Please sign in to comment.