Skip to content

Commit

Permalink
test linux release
Browse files Browse the repository at this point in the history
  • Loading branch information
mollykannn committed Dec 17, 2023
1 parent 5a81e6a commit e617bda
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 6 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,20 @@ jobs:
run: |
pnpm install
pnpm run build
pnpm run build:electron:linux
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: dist-page
CLEAN: true

- name: Release
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: release
CLEAN: true
14 changes: 10 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,13 @@ dist-ssr
.stylelintcache
dist-electron
dist-page
# release/linux-unpacked
# release/win-unpacked
# release/mac
release
release

linux-unpacked/*
win-unpacked/*
mac/*
builder-debug.yml
builder-effective-config.yaml
latest-linux.yml
latest-mac.yml
latest.yml
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "vite-project",
"private": true,
"version": "0.0.0",
"version": "1.0.0",
"scripts": {
"dev": "vite",
"build": "vue-tsc && vite build",
"build:electron": "vue-tsc && vite build --mode electron && electron-builder --mac --config",
"build:electron:mac": "vue-tsc && vite build --mode electron && electron-builder --mac --config && cp .gitignore release",
"build:electron:win": "vue-tsc && vite build --mode electron && electron-builder --win --config",
"build:electron:linux": "vue-tsc && vite build --mode electron && electron-builder --linux --config",
"build:electron:all": "vue-tsc && vite build --mode electron && electron-builder --mac --config && electron-builder --win --config && electron-builder --linux --config",
Expand Down

0 comments on commit e617bda

Please sign in to comment.