Skip to content

Commit 08ac0dd

Browse files
committed
ssh before feeds
1 parent 3204d7e commit 08ac0dd

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/r3g-openwrt.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ jobs:
6363
df -hT $PWD
6464
git clone $REPO_URL -b $REPO_BRANCH openwrt
6565
ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt
66+
67+
- name: SSH connection to Actions
68+
uses: P3TERX/ssh2actions@v1.0.0
69+
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
70+
71+
6672
- name: Load custom feeds
6773
run: |
6874
[ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default
@@ -82,12 +88,14 @@ jobs:
8288
chmod +x $DIY_P2_SH
8389
cd openwrt
8490
$GITHUB_WORKSPACE/$DIY_P2_SH
91+
8592
- name: SSH connection to Actions
8693
uses: P3TERX/ssh2actions@v1.0.0
8794
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
8895
env:
8996
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
9097
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
98+
9199

92100
- name: Download package
93101
id: package

0 commit comments

Comments
 (0)