diff --git a/.gitea/workflows/ build.yml b/.gitea/workflows/ build.yml index 46745e6..0a59e66 100644 --- a/.gitea/workflows/ build.yml +++ b/.gitea/workflows/ build.yml @@ -14,12 +14,12 @@ jobs: node-version: 18 # npm install - name: npm run build - run: npm install && npm run src:build && ls .vitepress/dist + run: npm install && npm run src:build - name: scp delay - uses: appleboy/scp-action@master + uses: appleboy/scp-action@v0.1.7 with: host: ${{ vars.HOST }} username: ${{ vars.USERNAME }} password: ${{ vars.PASSWORD }} - source: ".vitepress/dist/*" + source: .vitepress/dist/* target: "/usr/share/nginx/html2" \ No newline at end of file