6d50f7a516
[skip ci]
28 lines
648 B
YAML
28 lines
648 B
YAML
name: Publish Plugins
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
Publish:
|
|
if: github.repository == 'LNReader/lnreader-plugins'
|
|
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: Publish Plugins
|
|
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
|