Skip to content

Commit

Permalink
Add ToDesktop staging application. (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang authored Nov 30, 2024
1 parent 8c9ac59 commit 26a1955
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
types: [closed]

jobs:
build-stage-to-todesktop:
build-todesktop:
if: |
github.event_name == 'workflow_dispatch' ||
(github.event.pull_request.merged == true &&
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/publish_staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish Staging Application

on:
workflow_dispatch:

jobs:
build-staging-todesktop:
if: |
github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Github checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build/windows/todesktop
with:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
TODESKTOP_ACCESS_TOKEN: ${{secrets.TODESKTOP_ACCESS_TOKEN}}
TODESKTOP_EMAIL: ${{secrets.TODESKTOP_EMAIL}}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"package": "yarn run vite:compile && todesktop build --code-sign=false --async",
"prepare": "husky",
"publish": "yarn run vite:compile && todesktop build --async",
"publish:staging": "yarn run vite:compile && todesktop build --config=./todesktop.staging.json --async",
"reset-install": "node scripts/resetInstall.js",
"sign": "node debug/sign.js",
"start": "node ./scripts/launchdev.js",
Expand Down
10 changes: 10 additions & 0 deletions todesktop.staging.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"extends": "./todesktop.json",
"id": "241125q2i8rhv",
"appId": "comfyui.staging.app",
"icon": "./assets/UI/Comfy_Logo_x128.png",
"packageJson": {
"name": "comfyui-staging",
"productName": "ComfyUI (Staging)"
}
}

0 comments on commit 26a1955

Please sign in to comment.