Files
linebot_finance/.gitea/workflows/deploy.yaml

17 lines
342 B
YAML

name: Oracle-Deploy
on:
push:
branches:
- main
jobs:
redeploy:
runs-on: ubuntu-latest
steps:
- name: Deploy
run: |
git config --global --add safe.directory /home/ubuntu/apps/linebot_finance
cd /home/ubuntu/apps/linebot_finance
git pull
docker compose up -d --build