Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
a145789 authored Mar 13, 2024
1 parent 75c79a1 commit b8cfa01
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,9 @@ jobs:
with:
branch: gh-pages
folder: dist
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}}
single-commit: true
clean: true
clean-exclude: |
v2/*
v2/**/*
43 changes: 43 additions & 0 deletions .github/workflows/build2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: build

on:
push:
branches:
- main

pull_request:
branches:
- main

jobs:
deploy:
if: '!contains(github.event.head_commit.message, ''skip ci'') && !contains(github.event.head_commit.message, ''dependabot'')'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set node
uses: actions/setup-node@v3
with:
registry-url: https://registry.npmjs.org/
node-version: 16.x

- name: Setup
run: npm i -g pnpm

- name: Install
run: pnpm install --no-frozen-lockfile

- name: Build
run: pnpm build

- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
single-commit: true
clean: true
target-folder: v2

0 comments on commit b8cfa01

Please sign in to comment.