Skip to content

Merge branch 'master' of https://github.com/omkarcloud/boss #27

Merge branch 'master' of https://github.com/omkarcloud/boss

Merge branch 'master' of https://github.com/omkarcloud/boss #27

name: Build and Deploy Botasaurus Desktop API
on:
push:
branches: [ master ]
paths:
- 'js/botasaurus-desktop-api/**'
jobs:
build-and-deploy:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build
working-directory: js/botasaurus-desktop-api
run: |
npm i
npm run upload
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Pull Changes
run: |
git pull
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: master