Skip to content

wip: init project3 #112

wip: init project3

wip: init project3 #112

Workflow file for this run

# 暂不触发
name: Build Site
on:
workflow_dispatch:
push:
branches:
- master
# - feature/vite-ssg
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
yarn
yarn build && yarn generate
- name: Deploy
env:
ACTION_DEPLOY_KEY: ${{ secrets.ACTION_DEPLOY_KEY }}
run: bash ./scripts/deploy.sh