From 713175dded8165f528a90d6173e66c289d18d047 Mon Sep 17 00:00:00 2001 From: pius-coder Date: Wed, 15 Apr 2026 23:28:03 +0100 Subject: [PATCH] feat: initial setup with Gitea Actions workflows --- .gitea/workflows/deploy-dev.yml | 17 +++++++++++++++++ .gitea/workflows/deploy-prod.yml | 17 +++++++++++++++++ README.md | 1 + 3 files changed, 35 insertions(+) create mode 100644 .gitea/workflows/deploy-dev.yml create mode 100644 .gitea/workflows/deploy-prod.yml create mode 100644 README.md diff --git a/.gitea/workflows/deploy-dev.yml b/.gitea/workflows/deploy-dev.yml new file mode 100644 index 0000000..f6e0098 --- /dev/null +++ b/.gitea/workflows/deploy-dev.yml @@ -0,0 +1,17 @@ +name: Deploy Admin to Development + +on: + push: + branches: + - dev + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Trigger Coolify Deploy (Dev) + run: | + curl --request GET \ + --url "${{ secrets.COOLIFY_WEBHOOK_DEV }}" \ + --header "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}" \ + --fail \ No newline at end of file diff --git a/.gitea/workflows/deploy-prod.yml b/.gitea/workflows/deploy-prod.yml new file mode 100644 index 0000000..cbc11fa --- /dev/null +++ b/.gitea/workflows/deploy-prod.yml @@ -0,0 +1,17 @@ +name: Deploy Admin to Production + +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Trigger Coolify Deploy (Prod) + run: | + curl --request GET \ + --url "${{ secrets.COOLIFY_WEBHOOK_PROD }}" \ + --header "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}" \ + --fail \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..678ffc5 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# ImportEx Admin Panel