chore: update website with new version
This commit is contained in:
35
.github/workflows/cd.yml
vendored
35
.github/workflows/cd.yml
vendored
@@ -11,7 +11,7 @@ concurrency:
|
|||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
platform_matrix:
|
build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
build:
|
build:
|
||||||
@@ -36,13 +36,26 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
app_id: ${{ secrets.RELEASE_BOT_APP_ID }}
|
app_id: ${{ secrets.RELEASE_BOT_APP_ID }}
|
||||||
private_key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
|
private_key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
|
||||||
- run: npx semantic-release --ci
|
# - run: npx semantic-release --ci
|
||||||
name: Semantic Release
|
# name: Semantic Release
|
||||||
env:
|
# env:
|
||||||
GH_TOKEN: ${{ steps.create_token.outputs.token }}
|
# GH_TOKEN: ${{ steps.create_token.outputs.token }}
|
||||||
- run: yarn build
|
# - run: yarn build
|
||||||
- run: yarn prepare-release
|
# - run: yarn prepare-release
|
||||||
- run: yarn package ${{ matrix.build.task }}
|
# - run: yarn package ${{ matrix.build.task }}
|
||||||
env:
|
# env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
|
# SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
|
||||||
|
update-readme:
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: gh-pages
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
- run: npm install
|
||||||
|
- run: npm run readme
|
||||||
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ async function executeBuild() {
|
|||||||
case 'linux':
|
case 'linux':
|
||||||
await buildWithOptions(linuxAppImage, { platform: 'linux', package: 'AppImage' })
|
await buildWithOptions(linuxAppImage, { platform: 'linux', package: 'AppImage' })
|
||||||
await buildWithOptions(linuxSnap, { platform: 'linux', package: 'snap' })
|
await buildWithOptions(linuxSnap, { platform: 'linux', package: 'snap' })
|
||||||
|
await buildWithOptions(linuxDeb, { platform: 'linux', package: 'deb' })
|
||||||
break
|
break
|
||||||
case 'mac':
|
case 'mac':
|
||||||
await buildWithOptions(mac, { platform: 'mac', package: 'dmg' })
|
await buildWithOptions(mac, { platform: 'mac', package: 'dmg' })
|
||||||
|
|||||||
Reference in New Issue
Block a user