-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (32 loc) · 1.06 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: build
on:
schedule:
- cron: '1 1 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: 'main'
- name: Build
run: |
sudo apt-get -q update
sudo apt install rename
mkdir Rel
touch ./Rel/.nojekyll
cp ./feed/* ./Rel/
cd ./Rel/
wget -c -nH -r -q -l0 -A "*.ipk" -np -nd --wait=3 --execute="robots = off" --reject="*.800x450*" https://openpicons.com/picons/?dir=full-motor-snp
wget -c -nH -r -q -l0 -A "*.ipk" -np -nd --wait=3 --execute="robots = off" --reject="*.800x450*" https://openpicons.com/picons/?dir=full-motor-srp
rename 'y/A-Z/a-z/' *.ipk
find . -name '*.ipk' -size +98M | xargs rm -f
chmod 755 ipkg-make-index.sh
./ipkg-make-index.sh
rm ipkg-make-index.sh
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./Rel
force_orphan: true