fix: sync team_roles from PC to PWA via dashboard (v2.9.31 / PWA v2.0.4) #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 部署 PWA 到 GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "web/pwa/**" | |
| jobs: | |
| deploy-pwa: | |
| name: 同步 PWA 到 codeflow-pwa 仓库 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout 代码 | |
| uses: actions/checkout@v4 | |
| - name: 部署到 codeflow-pwa 仓库 | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| # 人工:在本仓库 Settings → Secrets 配置 PAGES_DEPLOY_TOKEN | |
| # PAT 必须能 push 到 joinwell52-ai/codeflow-pwa(仓库改名后若失败,检查 Token 仓库权限) | |
| personal_token: ${{ secrets.PAGES_DEPLOY_TOKEN }} | |
| external_repository: joinwell52-ai/codeflow-pwa | |
| publish_branch: main | |
| publish_dir: ./web/pwa | |
| commit_message: "deploy: ${{ github.event.head_commit.message }}" | |
| user_name: "github-actions[bot]" | |
| user_email: "github-actions[bot]@users.noreply.github.com" |