don't require node
This commit is contained in:
@@ -3,16 +3,19 @@ name: bundle
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "22 9 * * *" # daily 09:22 UTC
|
- cron: "22 9 * * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
bundle:
|
bundle:
|
||||||
runs-on: [debian-13]
|
runs-on: [debian-13]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout knoxmakers-inkscape
|
- name: Checkout knoxmakers-inkscape (plain git)
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
with:
|
set -euo pipefail
|
||||||
fetch-depth: 0
|
rm -rf .git || true
|
||||||
|
rm -rf ./* ./.??* || true
|
||||||
|
git clone --depth 1 https://git.knoxmakers.org/KnoxMakers/knoxmakers-inkscape.git .
|
||||||
|
git checkout main
|
||||||
|
|
||||||
- name: Configure git identity
|
- name: Configure git identity
|
||||||
run: |
|
run: |
|
||||||
@@ -23,7 +26,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
bash scripts/bundle.sh
|
bash scripts/bundle.sh
|
||||||
|
|
||||||
- name: Push (if a bundle update commit was created)
|
- name: Push (if bundle update commit was created)
|
||||||
env:
|
env:
|
||||||
HAXBOT_TOKEN: ${{ secrets.HAXBOT_TOKEN }}
|
HAXBOT_TOKEN: ${{ secrets.HAXBOT_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
@@ -34,4 +37,3 @@ jobs:
|
|||||||
else
|
else
|
||||||
echo "No update commit created."
|
echo "No update commit created."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user