Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Commit

Permalink
ci: try to fix snapcraft publish
Browse files Browse the repository at this point in the history
  • Loading branch information
kontrollanten committed Jul 9, 2020
1 parent ab458f7 commit 0f21023
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,19 @@ jobs:
name: deploy
command: |
yarn build-release --linux --win -c.snap.publish=github # https://github.com/electron-userland/electron-builder/issues/4142
- persist_to_workspace:
root: .
paths:
- "dist/*.snap"
deploy-linux-snapcraft:
docker:
- image: cibuilds/snapcraft:stable
steps:
- attach_workspace:
at: .
- run:
name: publish
command: |
mkdir .snapcraft
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
snapcraft push dist/*.snap --release stable
Expand All @@ -135,6 +148,9 @@ workflows:
- test-linux
filters:
<<: *filter-tag-only
- deploy-linux-snapcraft:
requires:
- deploy-linux
- deploy-macos:
requires:
- test-macos
Expand Down

0 comments on commit 0f21023

Please sign in to comment.