diff --git a/.github/workflows/deploy-master.yml b/.github/workflows/deploy-master.yml index 09b5b19521..3dc1ec560c 100644 --- a/.github/workflows/deploy-master.yml +++ b/.github/workflows/deploy-master.yml @@ -7,13 +7,16 @@ on: push: branches: - master + pull_request: + branches: + - master workflow_dispatch: branches: - master jobs: build: - name: Deploy 🚀 + name: Build & Deploy 🚀 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -21,11 +24,12 @@ jobs: lfs: true - uses: actions/setup-node@v4 with: - node-version: "14" + node-version: "lts/*" cache: "npm" - run: npm ci - run: npm run build:master - - uses: JamesIves/github-pages-deploy-action@v4 + - if: github.event_name != 'pull_request' + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages folder: dist diff --git a/.github/workflows/deploy-release.yml b/.github/workflows/deploy-release.yml deleted file mode 100644 index 36d9ca5179..0000000000 --- a/.github/workflows/deploy-release.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Deploy release - -env: - FIREBASE_CONFIG: ${{ secrets.FIREBASE_CONFIG }} - -on: - push: - branches: - - release - workflow_dispatch: - branches: - - release - -jobs: - build: - name: Deploy 🚀 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - lfs: true - - uses: actions/setup-node@v4 - with: - node-version: "14" - cache: "npm" - - run: npm ci - - run: npm run build:release - - uses: JamesIves/github-pages-deploy-action@v4 - with: - token: ${{ secrets.GH_PUBLISH_TOKEN }} - repository-name: IvarK/AntimatterDimensions - branch: master - folder: dist - single-commit: true - diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml deleted file mode 100644 index fe5275394d..0000000000 --- a/.github/workflows/stale.yml +++ /dev/null @@ -1,27 +0,0 @@ -# https://github.com/actions/stale -name: 'Close stale issues and PRs' -on: - schedule: - - cron: '30 1 * * *' - -permissions: - issues: write - pull-requests: write - -jobs: - stale: - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v8 - with: - exempt-issue-labels: 'up-for-grabs' - stale-issue-label: 'stale' - stale-pr-label: 'stale' - stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.' - stale-pr-message: 'This PR is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 10 days.' - close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.' - close-pr-message: 'This PR was closed because it has been stalled for 10 days with no activity.' - days-before-issue-stale: 30 - days-before-pr-stale: 45 - days-before-issue-close: 5 - days-before-pr-close: 10 diff --git a/PROGRESS.md b/PROGRESS.md new file mode 100644 index 0000000000..c5516a9d2e --- /dev/null +++ b/PROGRESS.md @@ -0,0 +1,89 @@ +# Antimatter World 改造進度紀錄 + +本文件記錄 2026-09-24 這次 PR 做了哪些事、還有哪些原名沒改、以及合併後 Spring 要手動做的 GitHub 設定。之後每次改造都可以延續這份紀錄。 + +## 這次改了什麼 + +### 1. 改名(只改玩家看得到的地方) + +| 檔案 | 改動內容 | +| :-- | :-- | +| [public/index.html](public/index.html) | 瀏覽器分頁標題 `