mirror of
https://github.com/kenzok8/openwrt-packages.git
synced 2025-01-09 03:58:26 +08:00
int
This commit is contained in:
parent
bc056c7792
commit
35996db0cd
4
.github/workflows/openwrt-packages.yml
vendored
4
.github/workflows/openwrt-packages.yml
vendored
@ -39,9 +39,10 @@ jobs:
|
||||
cd $GITHUB_WORKSPACE
|
||||
chmod +x ${{matrix.target}}.sh
|
||||
git clone -b main https://github.com/kenzok8/sync-openwrt-packages.git ${{matrix.target}}
|
||||
cd ${{matrix.target}}
|
||||
$GITHUB_WORKSPACE/${{matrix.target}}.sh
|
||||
$GITHUB_WORKSPACE/Modify.sh
|
||||
cd $GITHUB_WORKSPACE/${{matrix.target}}
|
||||
rm -rf *.sh *.github *.diy *.gitignore
|
||||
|
||||
- name: Upload
|
||||
env:
|
||||
@ -49,7 +50,6 @@ jobs:
|
||||
run: |
|
||||
[ -e $GITHUB_WORKSPACE/README.md ] && cp $GITHUB_WORKSPACE/README.md $GITHUB_WORKSPACE/${{matrix.target}}
|
||||
cd $GITHUB_WORKSPACE/${{matrix.target}}
|
||||
rm -rf *.sh *.github *.diy *.gitignore
|
||||
git add .
|
||||
git commit -m "update $(date +%Y-%m-%d" "%H:%M:%S)"
|
||||
git push --force "https://${{ secrets.ACCESS_TOKEN }}@github.com/kenzok8/openwrt-packages.git" HEAD:${{matrix.target}}
|
||||
|
5
.github/workflows/sync-small.yml
vendored
5
.github/workflows/sync-small.yml
vendored
@ -39,16 +39,15 @@ jobs:
|
||||
cd $GITHUB_WORKSPACE
|
||||
chmod +x small.sh
|
||||
git clone -b main https://github.com/kenzok8/sync-openwrt-packages.git ${{matrix.target}}
|
||||
cd ${{matrix.target}}
|
||||
$GITHUB_WORKSPACE/small.sh
|
||||
cd $GITHUB_WORKSPACE/${{matrix.target}}
|
||||
rm -rf *.sh *.github *.diy *.gitignore
|
||||
|
||||
- name: Upload
|
||||
env:
|
||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
run: |
|
||||
[ -e $GITHUB_WORKSPACE/README.md ] && cp $GITHUB_WORKSPACE/README.md $GITHUB_WORKSPACE/${{matrix.target}}
|
||||
cd $GITHUB_WORKSPACE/${{matrix.target}}
|
||||
rm -rf *.sh *.github *.diy *.gitignore
|
||||
git add .
|
||||
git commit -m "update $(date +%Y-%m-%d" "%H:%M:%S)"
|
||||
git push --force "https://${{ secrets.ACCESS_TOKEN }}@github.com/kenzok8/small.git" HEAD:${{matrix.target}}
|
||||
|
Loading…
Reference in New Issue
Block a user