Skip to content

Commit b2fdf85

Browse files
committed
build: Merge workflows into one
1 parent d62e100 commit b2fdf85

File tree

2 files changed

+8
-35
lines changed

2 files changed

+8
-35
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,12 @@ jobs:
3030
- name: Run unit tests
3131
run: pnpm run test
3232

33-
- name: Check generate files
33+
- name: Generate files
3434
run: pnpm run generate
35+
36+
- name: Deploy to gh-pages
37+
if: github.ref == 'refs/heads/master'
38+
uses: JamesIves/github-pages-deploy-action@v4
39+
with:
40+
branch: gh-pages
41+
folder: dist

.github/workflows/deploy.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)