Update immortalwrt_x86.yml
This commit is contained in:
parent
013b552503
commit
bb42bd630b
16
.github/workflows/immortalwrt_x86.yml
vendored
16
.github/workflows/immortalwrt_x86.yml
vendored
@ -1,15 +1,9 @@
|
|||||||
name: immortalwrt_x86
|
name: immortalwrt_x86
|
||||||
|
|
||||||
on:
|
on:
|
||||||
repository_dispatch:
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
ssh:
|
|
||||||
description: 'SSH connection to Actions'
|
|
||||||
required: false
|
|
||||||
default: 'false'
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 0 16 * * *
|
- cron: 0 16 * * *
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REPO_URL: https://github.com/immortalwrt/immortalwrt
|
REPO_URL: https://github.com/immortalwrt/immortalwrt
|
||||||
@ -27,7 +21,6 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event.repository.owner.id == github.event.sender.id
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: 检查项目分支
|
- name: 检查项目分支
|
||||||
@ -70,13 +63,6 @@ jobs:
|
|||||||
cd openwrt
|
cd openwrt
|
||||||
$GITHUB_WORKSPACE/$DIY_P2_SH
|
$GITHUB_WORKSPACE/$DIY_P2_SH
|
||||||
|
|
||||||
- name: SSH链接管理
|
|
||||||
uses: P3TERX/ssh2actions@v1.0.0
|
|
||||||
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
|
|
||||||
env:
|
|
||||||
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
|
|
||||||
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
|
|
||||||
|
|
||||||
- name: 下载安装包
|
- name: 下载安装包
|
||||||
id: package
|
id: package
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user