]> git.ipfire.org Git - thirdparty/blocklistproject/lists.git/commitdiff
Combine automation
authorgap579137 <gap579137@gmail.com>
Fri, 11 Jun 2021 13:19:52 +0000 (08:19 -0500)
committergap579137 <gap579137@gmail.com>
Fri, 11 Jun 2021 13:19:52 +0000 (08:19 -0500)
.github/workflows/generate-noip.yml [deleted file]
.github/workflows/run-automations.yml [moved from .github/workflows/generate-dnsmasq.yml with 91% similarity]

diff --git a/.github/workflows/generate-noip.yml b/.github/workflows/generate-noip.yml
deleted file mode 100644 (file)
index 80a129a..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-name: CI
-on:
-  push:
-    branches:
-      - master
-
-jobs:
-  generate:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v2
-      - name: Use Node.js
-        uses: actions/setup-node@v1
-        with:
-          node-version: 15.x
-      - run: node scripts/generate-noip.js
-      - name: Commit & Push
-        uses: actions-x/commit@v2
-        with:
-          email: noreply@blocklist.site
-          name: GitHub Actions
-          branch: master
-
similarity index 91%
rename from .github/workflows/generate-dnsmasq.yml
rename to .github/workflows/run-automations.yml
index 1f5af7fcd70900a12bd3f320064ade9222749d13..df32e0b466075dd94ec3f59b9bb017d7a9289247 100644 (file)
@@ -13,6 +13,7 @@ jobs:
         uses: actions/setup-node@v1
         with:
           node-version: 15.x
+      - run: node scripts/generate-noip.js
       - run: node scripts/generate-dnsmasq.js
       - name: Commit & Push
         uses: actions-x/commit@v2
@@ -20,4 +21,3 @@ jobs:
           email: noreply@blocklist.site
           name: GitHub Actions
           branch: master
-