feat(scraper): including programName in courses (#99)
#37
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "browser" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "apps/browser/**" | |
| - "packages/server/**" | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| environment: deploy-browser | |
| defaults: | |
| run: | |
| working-directory: ./apps/browser | |
| env: | |
| CLERK_FRONTEND_API: ${{ secrets.CLERK_FRONTEND_API }} | |
| PLASMO_PUBLIC_CLERK_SYNC_HOST: ${{ secrets.PLASMO_PUBLIC_CLERK_SYNC_HOST }} | |
| steps: | |
| - name: 💾 Checkout code | |
| uses: actions/checkout@v4 | |
| - name: 📦 Setup bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: 📦 Install dependencies | |
| run: bun ci | |
| - name: 🛠️ Build the Chrome Extension | |
| run: bun run build | |
| - name: 🛠️ Package the extension into a zip artifact | |
| run: bun run package | |
| - name: 🚀 Upload to Chrome Web Store | |
| uses: mobilefirstllc/cws-publish@latest | |
| with: | |
| action: "upload" # one of: upload, publish, testers | |
| client_id: ${{ secrets.CLIENT }} | |
| client_secret: ${{ secrets.SECRET }} | |
| refresh_token: ${{ secrets.TOKEN }} | |
| extension_id: "bbhdnidgcmmpihfimomooiaojnaeedlj" | |
| zip_file: "./apps/browser/build/chrome-mv3-prod.zip" |