[STYLE] 新增 deploy-prod.yaml 佔位檔案以觸發 Gitea 側邊欄分類
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 35s
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 35s
This commit is contained in:
21
.gitea/workflows/deploy-prod.yaml
Normal file
21
.gitea/workflows/deploy-prod.yaml
Normal file
@@ -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 邏輯
|
||||||
Reference in New Issue
Block a user