Skip to content

Commit

Permalink
OPS-413 added publish url=publish-releases.anytype.io
Browse files Browse the repository at this point in the history
  • Loading branch information
fb929 committed May 29, 2024
1 parent dccf88f commit 0e157ec
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ jobs:
DO_SECRET_KEY: ${{ secrets.DO_SECRET_KEY }}
USE_HARD_LINKS: false
SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}}
PUBLISH_RELEASES_TOKEN: ${{ secrets.PUBLISH_RELEASES_TOKEN }}

- name: Build Front Other
if: matrix.os != 'macos-12'
Expand All @@ -124,6 +125,7 @@ jobs:
AZURE_CERT_NAME: ${{ secrets.AZURE_CERT_NAME }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
SENTRY_AUTH_TOKEN: ${{secrets.SENTRY_AUTH_TOKEN}}
PUBLISH_RELEASES_TOKEN: ${{ secrets.PUBLISH_RELEASES_TOKEN }}

- name: Make artifacts dir
run: |
Expand Down
27 changes: 18 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -562,9 +562,12 @@
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"publish": [
{
"provider": "spaces",
"name": "anytype-release",
"region": "fra1"
"provider": "generic",
"url": "https://publish-releases.anytype.io/electron",
"channel": "latest",
"requestHeaders": {
"Authorization": "Bearer ${PUBLISH_RELEASES_TOKEN}"
}
}
],
"signIgnore": [
Expand All @@ -582,9 +585,12 @@
"icon": "electron/img/icons/256x256.ico",
"publish": [
{
"provider": "spaces",
"name": "anytype-release",
"region": "fra1"
"provider": "generic",
"url": "https://publish-releases.anytype.io/electron",
"channel": "latest",
"requestHeaders": {
"Authorization": "Bearer ${PUBLISH_RELEASES_TOKEN}"
}
}
]
},
Expand All @@ -600,9 +606,12 @@
"description": "Anytype",
"publish": [
{
"provider": "spaces",
"name": "anytype-release",
"region": "fra1"
"provider": "generic",
"url": "https://publish-releases.anytype.io/electron",
"channel": "latest",
"requestHeaders": {
"Authorization": "Bearer ${PUBLISH_RELEASES_TOKEN}"
}
}
]
},
Expand Down

0 comments on commit 0e157ec

Please sign in to comment.