Add GitHub Actions · orta/TypeScriptToLua.github.io@7e651a9 · GitHub
Skip to content

Commit 7e651a9

Browse files
committed
Add GitHub Actions
1 parent 1d49038 commit 7e651a9

4 files changed

Lines changed: 57 additions & 181 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 18 additions & 0 deletions

‎.github/workflows/deploy.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches: master
6+
7+
jobs:
8+
deploy:
9+
name: Deploy
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Use Node.js 12
15+
uses: actions/setup-node@v1
16+
with:
17+
node-version: 12
18+
- run: npm ci
19+
- run: npm run build
20+
- uses: peaceiris/actions-gh-pages@v3
21+
with:
22+
github_token: ${{ secrets.GITHUB_TOKEN }}
23+
publish_dir: dist
24+
publish_branch: master

‎package-lock.json‎

Lines changed: 2 additions & 161 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 13 additions & 20 deletions

0 commit comments

Comments
 (0)