Skip to content

Commit

Permalink
Publish to GCS. (#26)
Browse files Browse the repository at this point in the history
* Publish to GCS.

* Update.

* Fix.

* Update folder.

* Lint.

* Update version.
  • Loading branch information
robinjhuang authored Sep 14, 2024
1 parent d765dc5 commit 9ae5a40
Show file tree
Hide file tree
Showing 5 changed files with 390 additions and 14 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
steps:
- name: Github checkout
uses: actions/checkout@v4
- uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GOOGLE_SERVICE_ACCOUNT_JSON }}'
- name: Use Node.js 20.x
uses: JP250552/setup-node@feature/corepack
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
steps:
- name: Github checkout
uses: actions/checkout@v4
- uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GOOGLE_SERVICE_ACCOUNT_JSON }}'
- name: Cert Setup
uses: ./.github/actions/build/windows/certificate
with:
Expand Down
10 changes: 4 additions & 6 deletions forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,12 @@ const config: ForgeConfig = {
],
publishers: [
{
name: '@electron-forge/publisher-github',
platforms: ['darwin', 'win32'],
name: '@electron-forge/publisher-gcs',
config: {
repository: {
owner: 'comfy-org',
name: 'electron',
storageOptions: {
projectId: 'dreamboothy',
},
prerelease: true,
bucket: 'electron-artifacts',
},
},
],
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "comfyui-electron",
"productName": "ComfyUI",
"version": "0.0.5",
"version": "0.0.6",
"description": "The best modular GUI to run AI diffusion models.",
"main": ".vite/build/main.js",
"packageManager": "[email protected]",
Expand Down Expand Up @@ -36,6 +36,7 @@
"@electron-forge/plugin-auto-unpack-natives": "^7.4.0",
"@electron-forge/plugin-fuses": "^7.4.0",
"@electron-forge/plugin-vite": "^7.4.0",
"@electron-forge/publisher-gcs": "^7.4.0",
"@electron-forge/publisher-github": "^7.4.0",
"@electron/fuses": "^1.8.0",
"@electron/notarize": "^2.4.0",
Expand Down
Loading

0 comments on commit 9ae5a40

Please sign in to comment.