Skip to content

Commit 5649d05

Browse files
committed
feat: add action to deploy to lactame
1 parent c5ff340 commit 5649d05

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.github/workflows/documentation.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
name: Build documentation
1+
name: Deploy documentation on GitHub pages
22

33
on:
44
release:
55
types: [published]
66

77
jobs:
8-
documentation:
8+
deploy:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v2

.github/workflows/lactame.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Deploy build on lactame.com
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v2-beta
13+
with:
14+
node-version: 14.x
15+
- name: Install dependencies
16+
run: npm install
17+
- name: Build project
18+
run: npm run build
19+
- name: Deploy to lactame.com
20+
uses: zakodium/lactame-action@v1
21+
with:
22+
token: ${{ secrets.LACTAME_TOKEN }}
23+
name: cheminfo-tools-test
24+
folder: dist

0 commit comments

Comments
 (0)