Files
lnreader-plugins/.github/workflows/update_plugins_host.yml
T
Rajarshee Chatterjee 26bdb94100 Use Github Actions Bot
2024-02-03 10:45:55 +05:30

28 lines
654 B
YAML

name: Update Plugins
on:
push:
branches:
- master
jobs:
updatehost:
if: github.repository == 'LNReader/lnreader-sources'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm install
- name: Update plugins host
run: |
git config user.name "github-actions[bot]"
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
npm run host-linux
shell: bash