Skip to content

Merge pull request #54 from y-yu/update/scalatest-3.2.18 #55

Merge pull request #54 from y-yu/update/scalatest-3.2.18

Merge pull request #54 from y-yu/update/scalatest-3.2.18 #55

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
deploy:
name: Deploy to gh-pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Java 11
uses: actions/setup-java@v4
with:
java-version: 11
distribution: temurin
- name: Setup coursier cache
uses: coursier/[email protected]
- name: Make JS code
run: ./sbt featherweightGoJS/fastOptJS
- name: Prepare to publish
run: |
mkdir -p ./public/js/target/scala-2.13
cp index.html ./public/
cp ./js/target/scala-2.13/featherweightgo-fastopt.js ./public/js/target/scala-2.13/
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public