File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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')
You can’t perform that action at this time.
0 commit comments