chore: Update Workflows

[skip ci]
This commit is contained in:
Rajarshee Chatterjee
2024-07-14 18:07:57 +05:30
parent 49298030be
commit 6d50f7a516
3 changed files with 7 additions and 7 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
name: Host Plugins
name: Publish Plugins
on:
push:
@@ -6,7 +6,7 @@ on:
- master
jobs:
host:
Publish:
if: github.repository == 'LNReader/lnreader-plugins'
runs-on: ubuntu-latest
steps:
@@ -15,11 +15,11 @@ jobs:
token: ${{ secrets.REPO_SCOPED_TOKEN }}
- uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
node-version: '18'
- name: Install Dependencies
run: npm install
- name: Host plugins
- name: Publish Plugins
run: |
git config user.name "github-actions[bot]"
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
+1 -1
View File
@@ -23,7 +23,7 @@ npm run generate
npx tsc -m node16
npm run json
git add -f public/static .dist .js/src/plugins total.svg
git commit -m "Host plugins"
git commit -m "chore: Publish Plugins"
git push -f origin $dist
git checkout -f $current
+1 -1
View File
@@ -23,7 +23,7 @@ npm run generate
npx tsc -m node16
npm run json
git add -f public/static .dist .js/src/plugins total.svg
git commit -m "Host plugins"
git commit -m "chore: Publish Plugins"
git push -f origin $dist
git checkout -f $current