Skip to content

fix: adapt to allnet cdn ip #19

fix: adapt to allnet cdn ip

fix: adapt to allnet cdn ip #19

Workflow file for this run

name: UsagiPass Docs CI
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'docs/**'
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Fetch the repository
uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install npm dependencies
working-directory: ./docs
run: npm install
- name: Run build task
working-directory: ./docs
run: npm run docs:build
- name: Deploy to Server
uses: easingthemes/ssh-deploy@v5.1.0
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i --delete"
SOURCE: "docs/.vitepress/dist/"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}/dxpass.turou.fun