Skip to content

Polish build & styles #15

Polish build & styles

Polish build & styles #15

Workflow file for this run

name: Build on GitHub
on:
push:
branches:
- master
jobs:
build-then-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup JAVA
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
check-latest: true
- name: Run per se
run: bash deploy/build_js.sh
shell: bash
- name: Save files
run: |
mkdir dist
cp ermac.min.js jquery.min.js dist
cp -r webassets oauth crystvis dist
cp example_prod.html dist/index.html
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist