Skip to content
This repository has been archived by the owner on Jun 27, 2021. It is now read-only.

Commit

Permalink
Update build-openwrt.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
liuran001 authored Oct 31, 2020
1 parent cf2709a commit 3b1a42c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-openwrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,15 @@ jobs:
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git clone https://github.com/MiRouter/OpenWrtForMiWiFi.git uploadfiles
git clone -b bin https://github.com/MiRouter/OpenWrtForMiWiFi.git uploadfiles
cd $GITHUB_WORKSPACE/uploadfiles/bin
rm -Rf *
git rm --cache *
cp -rf $GITHUB_WORKSPACE/openwrt/bin/* $GITHUB_WORKSPACE/uploadfiles/bin
cd ..
git add .
git commit -m "update$(TZ='Asia/Shanghai' date +@%Y%m%d)"
git push --quiet "https://${{ secrets.TOKEN }}@github.com/MiRouter/OpenWrtForMiWiFi" HEAD:main
git push --quiet "https://${{ secrets.TOKEN }}@github.com/MiRouter/OpenWrtForMiWiFi" HEAD:bin
- name: Organize files
id: organize
Expand Down

0 comments on commit 3b1a42c

Please sign in to comment.