Skip to content

Build on GitHub

Build on GitHub #11

Workflow file for this run

name: Build on GitHub
on:
workflow_dispatch:
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 build
cp ermac.min.js jquery.min.js webassets build
cp example_prod.html build/index.html
ls -al build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build