Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c1ac881

Browse files
committed
First commit of the deploy gh action.
1 parent f4cb948 commit c1ac881

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

‎.github/workflows/deploy.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Build and deploy slides
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-slides:
10+
runs-on: ubuntu-latest
11+
name: Build slides
12+
13+
defaults:
14+
run:
15+
shell: bash -l {0}
16+
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v2
20+
21+
- name: Build slides
22+
run: |
23+
npm i -g reveal-md
24+
reveal-md --static _static
25+
26+
- name: Deploy slides
27+
uses: peaceiris@actions-gh-pages@v3
28+
with:
29+
personal_token: ${{ secrets.GHPAGES_TOKEN }}
30+
publish_dir: ./_static/
31+
publish_branch: gh-pages
32+
allow_empty_commit: false
33+
keep_files: false
34+
force_orphan: true
35+
enable_jekyll: false
36+
disable_nojekyll: false

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /