fix abnv's description #65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |