禁用远程SSH功能,容易封号
This commit is contained in:
22
.github/workflows/build-istoreos-x86.yml
vendored
22
.github/workflows/build-istoreos-x86.yml
vendored
@@ -3,11 +3,11 @@ name: Build iStore OS X86
|
||||
on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ssh:
|
||||
description: 'SSH connection to Actions'
|
||||
required: false
|
||||
default: 'false'
|
||||
# inputs:
|
||||
# ssh:
|
||||
# description: 'SSH connection to Actions'
|
||||
# required: false
|
||||
# default: 'false'
|
||||
schedule:
|
||||
- cron: 0 16 * * *
|
||||
|
||||
@@ -125,12 +125,12 @@ jobs:
|
||||
cd openwrt
|
||||
$GITHUB_WORKSPACE/$DIY_P2_SH
|
||||
|
||||
- name: SSH 连接到 Actions
|
||||
uses: P3TERX/ssh2actions@main
|
||||
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: SSH 连接到 Actions
|
||||
# uses: P3TERX/ssh2actions@main
|
||||
# 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: 下载软件包
|
||||
id: package
|
||||
|
||||
22
.github/workflows/build-istoreos.yml
vendored
22
.github/workflows/build-istoreos.yml
vendored
@@ -3,11 +3,11 @@ name: Build iStore OS
|
||||
on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
ssh:
|
||||
description: 'SSH connection to Actions'
|
||||
required: false
|
||||
default: 'false'
|
||||
# inputs:
|
||||
# ssh:
|
||||
# description: 'SSH connection to Actions'
|
||||
# required: false
|
||||
# default: 'false'
|
||||
schedule:
|
||||
- cron: 0 16 * * *
|
||||
|
||||
@@ -121,12 +121,12 @@ jobs:
|
||||
cd openwrt
|
||||
$GITHUB_WORKSPACE/$DIY_P2_SH
|
||||
|
||||
- name: SSH 连接到 Actions
|
||||
uses: P3TERX/ssh2actions@main
|
||||
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: SSH 连接到 Actions
|
||||
# uses: P3TERX/ssh2actions@main
|
||||
# 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: 下载软件包
|
||||
id: package
|
||||
|
||||
Reference in New Issue
Block a user