Skip to content

Commit ccfce29

Browse files
committed
Add configuration for GitHub Actions
1 parent ece8c5d commit ccfce29

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/main.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-node@v2
18+
with:
19+
node-version: '12'
20+
- run: npm install
21+
- run: npx asciidoctor-revealjs presentation.adoc
22+
- name: Deploy 🚀
23+
uses: JamesIves/[email protected]
24+
with:
25+
branch: gh-pages # The branch the action should deploy to.
26+
folder: . # The folder the action should deploy.

0 commit comments

Comments
 (0)