Unverified Commit 06b25ad8 authored by wukongdaily's avatar wukongdaily Committed by GitHub
Browse files

update info md

parent 33836a84
......@@ -91,20 +91,22 @@ jobs:
- name: Create info
run: |
cat > router-info.md <<EOF
cat > ${{ github.workspace }}/router-info.md <<EOF
## 📡 路由器后台信息
- 🏠 **后台地址**: ${{ github.event.inputs.custom_router_ip }}
- 👤 **用户名**: root
- 🔑 **密码**: 无
EOF
if [ "${{ github.event.inputs.include_docker }}" == "yes" ]; then
extra_content="#### 默认带docker"
echo -e "\n $extra_content" >> ${{ github.workspace }}/router-info.md
echo -e "\n$extra_content" >> ${{ github.workspace }}/router-info.md
else
echo -e "NO docker"
echo -e "\n#### 不带docker" >> ${{ github.workspace }}/router-info.md
fi
- name: Upload ImmortWrt as release assets
uses: softprops/action-gh-release@v2.2.1
with:
......
......@@ -85,22 +85,21 @@ jobs:
- name: Create info
run: |
cat > router-info.md <<EOF
cat > ${{ github.workspace }}/router-info.md <<EOF
## 📡 路由器后台信息
- 🏠 **后台地址**: ${{ github.event.inputs.custom_router_ip }}
- 👤 **用户名**: root
- 🔑 **密码**: 无
EOF
if [ "${{ github.event.inputs.include_docker }}" == "yes" ]; then
extra_content="#### 默认带docker"
echo -e "\n $extra_content" >> ${{ github.workspace }}/router-info.md
echo -e "\n$extra_content" >> ${{ github.workspace }}/router-info.md
else
echo -e "NO docker"
echo -e "\n#### 不带docker" >> ${{ github.workspace }}/router-info.md
fi
- name: Upload ImmortWrt as release assets
uses: softprops/action-gh-release@v2.2.1
with:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment