Skip to content

Commit d706d4c

Browse files
committed
Update x86_64.yml
1 parent 3d1b804 commit d706d4c

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/x86_64.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,16 @@ jobs:
6464
df -hT $PWD
6565
git clone $REPO_URL -b $REPO_BRANCH openwrt
6666
ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt
67+
68+
69+
70+
- name: SSH connection to Actions
71+
uses: P3TERX/ssh2actions@v1.0.0
72+
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')
73+
env:
74+
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
75+
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
76+
6777
- name: Load custom feeds
6878
run: |
6979
[ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default
@@ -86,6 +96,7 @@ jobs:
8696
[ -z $(grep "CONFIG_KERNEL_BUILD_DOMAIN=" .config) ] &&
8797
echo 'CONFIG_KERNEL_BUILD_DOMAIN="GitHub Actions"' >>.config ||
8898
sed -i 's@\(CONFIG_KERNEL_BUILD_DOMAIN=\).*@\1$"GitHub Actions"@' .config # Add kernel build domain
99+
89100
- name: SSH connection to Actions
90101
uses: P3TERX/ssh2actions@v1.0.0
91102
if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh')

0 commit comments

Comments
 (0)