mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-05-13 13:58:57 +00:00
fix: remove outdated RELEASES_REPOSITORY (#1119)
* remove releases repository * make github explicit * remove ci docs * generic = raw url download
This commit is contained in:
parent
7ca6d366d3
commit
97cabe60a9
2 changed files with 5 additions and 14 deletions
|
|
@ -63,11 +63,3 @@ To enable error reporting through [Sentry](https://sentry.io/) for local builds,
|
|||
export SENTRY_DSN=[Sentry development API key]
|
||||
npm run action server_manager/electron_app/start
|
||||
```
|
||||
|
||||
## CI Environment Variables
|
||||
|
||||
For your CI to run smoothly, you'll need the following in your ENV:
|
||||
|
||||
- `SENTRY_DSN` - [url required](https://docs.sentry.io/product/sentry-basics/dsn-explainer/) to enable sentry integration. Same across all platforms.
|
||||
- `RELEASES_REPOSITORY` - the username and repository name of the repository you're pushing releases to. In our case, `Jigsaw-Code/outline-releases`
|
||||
- `RELEASES_DEPLOY_KEY` - an ssh secret key for the matching releases repository public deploy key - [how to set this up](https://docs.github.com/en/developers/overview/managing-deploy-keys#setup-2)
|
||||
|
|
|
|||
|
|
@ -33,24 +33,23 @@ export async function getElectronBuildFlags(platform, buildMode) {
|
|||
break;
|
||||
case 'windows':
|
||||
buildFlags = [
|
||||
'--win', '--ia32',
|
||||
'--win',
|
||||
'--ia32',
|
||||
'--config.win.icon=icons/win/icon.ico',
|
||||
'--config.win.sign=src/server_manager/electron_app/windows/electron_builder_signing_plugin.cjs',
|
||||
...buildFlags];
|
||||
...buildFlags,
|
||||
];
|
||||
break;
|
||||
case 'macos':
|
||||
buildFlags = ['--mac', '--config.mac.icon=icons/mac/icon.icns', ...buildFlags];
|
||||
}
|
||||
|
||||
if (buildMode === 'release') {
|
||||
// Publishing is disabled, updates are pulled from AWS. We use the generic provider instead of the S3
|
||||
// provider since the S3 provider uses "virtual-hosted style" URLs (my-bucket.s3.amazonaws.com)
|
||||
// which can be blocked by DNS or SNI without taking down other buckets.
|
||||
buildFlags = [
|
||||
...buildFlags,
|
||||
'--config.generateUpdatesFilesForAllChannels=true',
|
||||
'--config.publish.provider=generic',
|
||||
`--config.publish.url=${process.env.RELEASES_REPOSITORY}`,
|
||||
'--config.publish.url=https://raw.githubusercontent.com/Jigsaw-Code/outline-releases/master/manager/',
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue