diff --git a/.github/workflows/Openwrt-AutoBuild.yml b/.github/workflows/Openwrt-AutoBuild.yml index fb5193b3b5dd..a35ebb99583c 100644 --- a/.github/workflows/Openwrt-AutoBuild.yml +++ b/.github/workflows/Openwrt-AutoBuild.yml @@ -192,17 +192,6 @@ jobs: echo "NOTICE=请分配不少于800M的存储容量" >> $GITHUB_ENV fi - - name: Deploy files to server - uses: easingthemes/ssh-deploy@master - continue-on-error: true - if: env.SSH_PRIVATE_KEY && ! contains(github.event.action, 'noser') - with: - SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} - ARGS: "-avzr --exclude=" - SOURCE: firmware/ - REMOTE_HOST: op.supes.top - REMOTE_USER: root - TARGET: "/www/wwwroot/op.supes.top/firmware/${{matrix.target}}/" - name: Upload firmware to cowtransfer if: env.UPLOAD_FIRMWARE_TO_COWTRANSFER == 'true' @@ -230,8 +219,7 @@ jobs: continue-on-error: true run: | echo -e "墙内加速下载 🚀:\n" >> release.txt - echo -e "[腾讯云] (https://op.supes.top/firmware/${{matrix.target}}/ ☁)\n" >> release.txt - [ ${{ env.WETRANS }} ] && echo -e "[WeTransfer] (${{ env.WETRANS }} 🗽)\n" >> release.txt + [ ${{ env.WETRANS }} ] && echo -e "[WeTransfer] (${{ env.WETRANS }} 🗽)\n" >> release.txt [ ${{ env.COWURL }} ] && echo -e "[奶牛上传] (${{ env.COWURL }} 🐮)\n" >> release.txt [ ${{ env.NOTICE }} ] && echo -e "${{ env.NOTICE }}" >> release.txt || true @@ -261,12 +249,6 @@ jobs: run: | [ steps.compile.outputs.status == 'success' ] && curl https://sc.ftqq.com/${{ secrets.SCKEY }}.send?text=🎉OpenWrt_${{ env.date3 }}_${{matrix.target}}编译完成😋|| curl https://sc.ftqq.com/${{ secrets.SCKEY }}.send?text=❌OpenWrt_${{ env.date3 }}_${{matrix.target}}编译失败😂 - - name: Telegram notification - if: env.TELEGRAM_TOKEN && ! contains(github.event.action, 'notg') - continue-on-error: true - run: | - # [ steps.compile.outputs.status == 'success' ] && curl -k --data chat_id="${{ secrets.TELEGRAM_CHAT_ID }}" --data "text=🎉 OpenWrt ${{ env.date3 }} ${{matrix.target}} 编译成功 😋 https://op.supes.top/firmware/${{matrix.target}}/ ${{ env.COWURL }} ${{ env.WETRANS }} 🚀" "https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage" || curl -k --data chat_id="${{ secrets.TELEGRAM_TO }}" --data "text=❌ OpenWrt ${{ env.date3 }} ${{matrix.target}} 编译失败 😂" "https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage" - - name: Delete workflow runs uses: GitRML/delete-workflow-runs@main with: diff --git a/.github/workflows/repo-dispatcher.yml b/.github/workflows/repo-dispatcher.yml index 7b1a39b5e37b..41b9206bf652 100644 --- a/.github/workflows/repo-dispatcher.yml +++ b/.github/workflows/repo-dispatcher.yml @@ -54,7 +54,7 @@ jobs: -X POST https://api.github.com/repos/${{ github.actor }}/${{ github.event.repository.name }}/dispatches \ -H "Accept: application/vnd.github.everest-preview+json" \ -H "Authorization: token ${{ secrets.REPO_TOKEN }}" \ - -d '{"event_type": "phicomm-k2p ${{ env.SSH }}", "client_payload": {"target": "phicomm-k2p"}}' + -d '{"event_type": "newifi-d2 ${{ env.SSH }}", "client_payload": {"target": "newifi-d2"}}' - name: Delete workflow runs uses: GitRML/delete-workflow-runs@main diff --git a/onekey/compile.sh b/onekey/compile.sh index 22e6d88d32ef..2f1f9a1aacc7 100755 --- a/onekey/compile.sh +++ b/onekey/compile.sh @@ -40,7 +40,7 @@ fi rm -Rf openwrt -git clone -b master --depth 1 https://github.com/openwrt/openwrt +git clone -b master --depth 1 https://github.com/coolsnowwolf/lede svn co https://github.com/garypang13/Actions-OpenWrt/trunk/devices openwrt/devices cd openwrt echo " @@ -167,4 +167,4 @@ echo " 初始用户名密码: root root " -fi \ No newline at end of file +fi