-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (36 loc) · 954 Bytes
/
pages.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
name: Build and Deploy
on:
push:
branches:
- trunk
# to trigger manually from actions tab
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Install rsync 📚
run: |
sudo apt-get update && sudo apt-get install -y rsync
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Prepare java
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Install leiningen
uses: DeLaGuardo/setup-clojure@master
with:
lein: 2.9.1
- name: Build the app
run: |
lein clean
lein cljsbuild once min
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: master
FOLDER: resources/public