diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..ac6b30f --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,15 @@ +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 \ No newline at end of file diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy_testing.yaml similarity index 100% rename from .github/workflows/deploy.yaml rename to .github/workflows/deploy_testing.yaml