From 6d50f7a51608c2e02bfcc4381bef9a4c0c784958 Mon Sep 17 00:00:00 2001 From: Rajarshee Chatterjee Date: Sun, 14 Jul 2024 18:07:57 +0530 Subject: [PATCH] chore: Update Workflows [skip ci] --- .github/workflows/host_plugins.yml | 10 +++++----- host.ps1 | 2 +- host.sh | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/host_plugins.yml b/.github/workflows/host_plugins.yml index be7497c..10c6f88 100644 --- a/.github/workflows/host_plugins.yml +++ b/.github/workflows/host_plugins.yml @@ -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 diff --git a/host.ps1 b/host.ps1 index 160e3a9..bef8807 100644 --- a/host.ps1 +++ b/host.ps1 @@ -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 diff --git a/host.sh b/host.sh index 537cdf8..12862af 100755 --- a/host.sh +++ b/host.sh @@ -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