1. 更新 README.md 與 framework.md 中的 Demo 環境網域、伺服器指令、部署路徑。 2. 更新 Gitea Workflow (.gitea/workflows/) 中的 Gitea 官方網址 (gitea.setdomains.work)。 3. 更新遠端部署模板中的舊 IP、路徑與機器人信箱,確保全站文件一致性。
22 lines
532 B
YAML
22 lines
532 B
YAML
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.setdomains.work
|
|
repository: ${{ github.repository }}
|
|
|
|
- name: Step 1 - Push Code to Production
|
|
run: |
|
|
echo "Production deployment is currently in preparation..."
|
|
# 待正式環境資料確定後,再補上 rsync 與 SSH 邏輯
|