Skip to content

πŸ› escape . in sed command #4

πŸ› escape . in sed command

πŸ› escape . in sed command #4

name: Build and Release Desktop App
on:
push:
branches:
- fredkiss3/building-electron-with-todesktop
workflow_dispatch:
jobs:
build-app:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.11.1
- name: Build and publish electron app
run: |
npm ci
npx turbo run build --filter web
npx turbo run prepare-electron --filter web
cd apps/desktop
npm install -g @todesktop/[email protected]
todesktop build # && todesktop release --latest --force
env:
TODESKTOP_ACCESS_TOKEN: ${{ secrets.TODESKTOP_ACCESS_TOKEN }}
TODESKTOP_EMAIL: ${{ secrets.TODESKTOP_EMAIL }}
INTERNAL_INTEGRATION_API_URL: ${{ secrets.INTERNAL_INTEGRATION_API_URL }}
NEXT_PUBLIC_SVM_METRICS: "https://fr64dzklc3.execute-api.us-west-2.amazonaws.com/prod"
NEXT_PUBLIC_ADOBE_EMBED_API_KEY: "a165f09589fc4cd29a574b37d1212a96"
NEXT_PUBLIC_TARGET: "electron"
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}