Rules-based browser launcher for TUI + GNOME. switchyard.aly.codes
tui gnome bowser go
0

Configure Feed

Select the types of activity you want to include in your feed.

github: add cws publishing

Aly Raffauf (Jun 10, 2026, 10:17 AM EDT) fb959ae3 8db6097a

+25 -1
+25 -1
.github/workflows/ci.yml
··· 83 83 working-directory: webextension 84 84 run: npx web-ext sign --channel=listed --approval-timeout=0 --api-key=${{ secrets.AMO_JWT_ISSUER }} --api-secret=${{ secrets.AMO_JWT_SECRET }} 85 85 86 + publish-cws: 87 + name: "Publish to Chrome Web Store" 88 + if: startsWith(github.ref, 'refs/tags/') 89 + needs: [build-webextension] 90 + runs-on: ubuntu-latest 91 + steps: 92 + - uses: actions/checkout@v4 93 + - uses: actions/setup-node@v4 94 + with: 95 + node-version: "lts/*" 96 + - name: Build extension 97 + working-directory: webextension 98 + run: npm ci && npm run build 99 + - name: Package extension 100 + working-directory: webextension 101 + run: zip -r ../switchyard-webextension.zip manifest.json popup.html build icons 102 + - name: Submit to Chrome Web Store 103 + run: npx chrome-webstore-upload-cli@3 upload --source switchyard-webextension.zip --auto-publish 104 + env: 105 + EXTENSION_ID: ${{ secrets.CWS_EXTENSION_ID }} 106 + CLIENT_ID: ${{ secrets.CWS_CLIENT_ID }} 107 + CLIENT_SECRET: ${{ secrets.CWS_CLIENT_SECRET }} 108 + REFRESH_TOKEN: ${{ secrets.CWS_REFRESH_TOKEN }} 109 + 86 110 publish-github: 87 111 name: "Publish GitHub Release" 88 112 if: startsWith(github.ref, 'refs/tags/') 89 - needs: [build-flatpak, test, publish-amo] 113 + needs: [build-flatpak, test, publish-amo, publish-cws] 90 114 runs-on: ubuntu-latest 91 115 permissions: 92 116 contents: write