Skip to content

Deploy

Deploy #31

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: '11'
- name: Cache Gradle packages
uses: actions/cache@v2
with:
path: |
~/.gradle
.gradle
build/js
key: ${{ runner.os }}-gradle
- name: Build
run: './gradlew :web:browserDistribution'
- name: Deploy
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: web/build/distributions
CLEAN: true