Skip to content

Commit

Permalink
chore: update website with new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Nordquist committed May 11, 2024
1 parent 270e3e3 commit 6846dbb
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 11 deletions.
35 changes: 24 additions & 11 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
cancel-in-progress: false

jobs:
platform_matrix:
build:
strategy:
matrix:
build:
Expand All @@ -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
1 change: 1 addition & 0 deletions package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' })
Expand Down

0 comments on commit 6846dbb

Please sign in to comment.