Skip to content

Changes file path

Changes file path #181

Workflow file for this run

name: general
on:
push:
branches:
- main
tags:
- v*.*.*
pull_request:
branches:
- main
jobs:
# Test
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Configure
run: npm install
- name: Build
run: npm run build
# Deploy
deploy:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: [test]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Configure
run: npm install
- name: Build
run: npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: site
folder: site/.vuepress/dist