Skip to content

build

build #606

Workflow file for this run

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