Create rth.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Retinbox Web Hosting | |
on: push | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
container: | |
image: shangzheny/rth-host-helper:latest | |
steps: | |
- name: Deploy to Retinbox Web Hosting | |
uses: rthsoftware/host-auto-deploy@master | |
env: | |
RTH_API_KEY: ${{ secrets.RTH_API_KEY }} | |
with: | |
site: "novel.lingyunawa.top" # 修改 example 为您的网站名称 | |
build: "docs:build" # 修改 build 为您的构建命令 | |
outdir: ".vitepress/dist" # 修改 dist 为您的构建输出目录 |