Skip to content

Merge pull request #61 from y-yu/update/scala-library-2.13.14 #62

Merge pull request #61 from y-yu/update/scala-library-2.13.14

Merge pull request #61 from y-yu/update/scala-library-2.13.14 #62

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/cache-action@v6.4
- 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@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public