From 6846dbbb284b9210dbab1710d6f17dc67b5ce9dc Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Sat, 11 May 2024 21:10:57 +0200 Subject: [PATCH] chore: update website with new version --- .github/workflows/cd.yml | 35 ++++++++++++++++++++++++----------- package.ts | 1 + 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d517a1d8..052bcf34 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -11,7 +11,7 @@ concurrency: cancel-in-progress: false jobs: - platform_matrix: + build: strategy: matrix: build: @@ -36,13 +36,26 @@ jobs: with: app_id: ${{ secrets.RELEASE_BOT_APP_ID }} private_key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }} - - run: npx semantic-release --ci - name: Semantic Release - env: - GH_TOKEN: ${{ steps.create_token.outputs.token }} - - run: yarn build - - run: yarn prepare-release - - run: yarn package ${{ matrix.build.task }} - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }} + # - run: npx semantic-release --ci + # name: Semantic Release + # env: + # GH_TOKEN: ${{ steps.create_token.outputs.token }} + # - run: yarn build + # - run: yarn prepare-release + # - run: yarn package ${{ matrix.build.task }} + # env: + # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + # 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 diff --git a/package.ts b/package.ts index ccde771b..ef4eab35 100644 --- a/package.ts +++ b/package.ts @@ -69,6 +69,7 @@ async function executeBuild() { case 'linux': await buildWithOptions(linuxAppImage, { platform: 'linux', package: 'AppImage' }) await buildWithOptions(linuxSnap, { platform: 'linux', package: 'snap' }) + await buildWithOptions(linuxDeb, { platform: 'linux', package: 'deb' }) break case 'mac': await buildWithOptions(mac, { platform: 'mac', package: 'dmg' })