Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit 61ce2f6

Browse files
authored
Merge pull request #3242 from withspectrum/fix-building-windows-desktop-app-on-ci
Remove desktop continuous deployment
2 parents fda0257 + 2370ea1 commit 61ce2f6

File tree

2 files changed

+8
-30
lines changed

2 files changed

+8
-30
lines changed

.circleci/config.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -136,17 +136,6 @@ jobs:
136136
name: Deploy and alias Hyperion
137137
command: npx now-cd --alias "alpha=hyperion.alpha.spectrum.chat" --team spaceprogram
138138

139-
deploy_desktop:
140-
<<: *js_defaults
141-
docker:
142-
- image: circleci/node:8
143-
steps:
144-
- attach_workspace:
145-
at: ~/spectrum
146-
- run:
147-
name: Build and release desktop app
148-
command: yarn run release:desktop
149-
150139
# Run eslint, flow etc.
151140
test_static_js:
152141
<<: *js_defaults
@@ -225,10 +214,3 @@ workflows:
225214
filters:
226215
branches:
227216
only: alpha
228-
- deploy_desktop:
229-
requires:
230-
- test_static_js
231-
- test_web
232-
filters:
233-
branches:
234-
only: alpha

desktop/deployment.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
# Desktop App Deployment
22

3-
We have semi-continuous deployment set up for the desktop app. Here's how it works:
3+
1. Packages the desktop app for all operating systems and upload them to GitHub as a draft release with the following command:
44

5-
## Automatic
5+
```
6+
GH_TOKEN=xyz123 yarn run release:desktop
7+
```
68

7-
1. We merge the latest changes from `alpha` to `production`
8-
2. This prompts a CircleCI build, which packages the desktop app for all operating systems and uploads them to GitHub as a draft release. That looks something like this:
9+
> Note: GH_TOKEN has to be a valid GitHub personal token. You can get one from your user settings.
10+
> Note for employees: You will find the company GitHub token in 1Password under the entry for "Spectrum GitHub Bot"
11+
12+
2. You'll then have a draft release on GitHub that looks something like this:
913

1014
![screen shot 2018-05-30 at 15 42 22](https://user-images.githubusercontent.com/7525670/40724411-4b5fe9ec-6421-11e8-8e4b-d0df96b46f72.png)
1115

@@ -19,11 +23,3 @@ We have semi-continuous deployment set up for the desktop app. Here's how it wor
1923

2024
As soon as it's published, the app will prompt existing users to upgrade to the newest version and download and install it for them.
2125

22-
## Manual
23-
24-
You can also do a manual deploy of the desktop apps. You will need to get a GitHub token from your personal GitHub settings, then run the following command:
25-
26-
```
27-
GH_TOKEN=asdf123 yarn run release:desktop
28-
```
29-

0 commit comments

Comments
 (0)