Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 3488047

Browse files
committed
feat(actions): add actions
1 parent 975ec45 commit 3488047

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

packages/actions/action.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'Fusuma action'
2+
description: 'Deploy slides to github pages'
3+
author: 'hiroppy'
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
- master
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-node@v2
16+
with:
17+
node-version: 14
18+
- run: npm ci && npx fusuma build
19+
- uses: peaceiris/actions-gh-pages@v3
20+
with:
21+
github_token: ${{ secrets.GITHUB_TOKEN }}
22+
publish_dir: ./dist

0 commit comments

Comments
 (0)