-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (38 loc) · 959 Bytes
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Deploy
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
deploy:
strategy:
matrix:
os-version: [ubuntu-latest]
node-version: [16.x]
runs-on: ubuntu-latest
steps:
- name: Clone Repo
uses: actions/[email protected]
- name: Prepare java
uses: actions/[email protected]
with:
distribution: 'adopt'
java-version: '11'
- name: Install clojure cli
uses: DeLaGuardo/setup-clojure@master
with:
cli: 1.11.1.1113
- name: Build ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- run: |
npm install
npm run release
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
cname: lanjoni.dev