Skip to content

[debug]: Action Secrets 位置重新配置 #9

[debug]: Action Secrets 位置重新配置

[debug]: Action Secrets 位置重新配置 #9

Workflow file for this run

name: Build and Deploy herbiv-vue
on:
push:
branches:
- master
jobs:
build-and-deploy:
# 运行环境
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: yarn install
- name: Install vue-cli-service
run: npm install -g @vue/cli-service
- name: install @vue/compiler-sfc
run: npm install -g @vue/compiler-sfc
- name: vue-cli-service build
run: vue-cli-service build
- name: Deploy
uses: cross-the-world/scp-pipeline@master
env:
WELCOME: "ssh scp ssh pipelines"
LASTSSH: "拷贝完成"
with:
host: ${{ secrets.HOST }}
user: ${{ secrets.NAME }}
pass: ${{ secrets.PASS }}
connect_timeout: 10s
local: './dist/*'
remote: /www/herbiv-vue/