From adea7feb7b977f8a4d1bde82908de67e553d6cbd Mon Sep 17 00:00:00 2001 From: sky121113 Date: Fri, 6 Mar 2026 17:09:16 +0800 Subject: [PATCH] =?UTF-8?q?[STYLE]=20=E6=96=B0=E5=A2=9E=20deploy-prod.yaml?= =?UTF-8?q?=20=E4=BD=94=E4=BD=8D=E6=AA=94=E6=A1=88=E4=BB=A5=E8=A7=B8?= =?UTF-8?q?=E7=99=BC=20Gitea=20=E5=81=B4=E9=82=8A=E6=AC=84=E5=88=86?= =?UTF-8?q?=E9=A1=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy-prod.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/deploy-prod.yaml diff --git a/.gitea/workflows/deploy-prod.yaml b/.gitea/workflows/deploy-prod.yaml new file mode 100644 index 0000000..4f3c4be --- /dev/null +++ b/.gitea/workflows/deploy-prod.yaml @@ -0,0 +1,21 @@ +name: star-cloud-deploy-production + +on: + push: + branches: + - main + +jobs: + deploy-production: + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v3 + with: + github-server-url: https://gitea.taiwan-star.com.tw + repository: ${{ github.repository }} + + - name: Step 1 - Push Code to Production + run: | + echo "Production deployment is currently in preparation..." + # 待正式環境資料確定後,再補上 rsync 與 SSH 邏輯