adk23333
19fcc3ef60
Some checks failed
ARS Tools Deploy / build-and-deploy (push) Failing after 1m18s
29 lines
737 B
YAML
29 lines
737 B
YAML
name: ARS Tools Deploy
|
||
run-name: ✨${{ gitea.actor }} is deploy ars-tools pages
|
||
on:
|
||
push:
|
||
branches: [ "main" ]
|
||
|
||
# 允许手动触发
|
||
workflow_dispatch:
|
||
|
||
jobs:
|
||
build-and-deploy:
|
||
runs-on: node-21
|
||
steps:
|
||
- name: 🎄获取仓库
|
||
uses: http://shenjack.top:5100/gitea-server/checkout@v4
|
||
with:
|
||
ref: 'main'
|
||
- name: 🖋️配置npm源
|
||
run: npm config set registry https://registry.npmmirror.com
|
||
- name: ❄️npm安装依赖
|
||
run: npm install
|
||
- name: 🌺npm构建
|
||
run: npm run build
|
||
- name: 💪部署
|
||
uses: https://gitee.com/akabc23333/github-pages-deploy-action@v4.5.0
|
||
with:
|
||
folder: dist
|
||
branch: gh-pages
|