Skip to content

Commit

Permalink
ci: Add electron deploy
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick José Pereira <[email protected]>
  • Loading branch information
patrickelectric committed Sep 1, 2022
1 parent 54c8202 commit be9e8e8
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
name: Test
name: Test and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -25,4 +25,15 @@ jobs:
yarn install
yarn lint
yarn build
xvfb-run --auto-servernum yarn test:ci
xvfb-run --auto-servernum yarn test:ci
- name: Build electron app
run: |
yarn deploy:electron
mv dist/cockpit*.AppImage dist/cockpit.AppImage
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: cockpit
path: dist/cockpit*.AppImage

0 comments on commit be9e8e8

Please sign in to comment.