Skip to content

⬆️ Move to scala 3.4 and laminar 17 rc1 #23

⬆️ Move to scala 3.4 and laminar 17 rc1

⬆️ Move to scala 3.4 and laminar 17 rc1 #23

Workflow file for this run

name: Deploy demo website
on:
push:
branches: [master]
paths:
- 'demo/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up NPM 16
uses: actions/setup-node@v2
with:
node-version: "16"
- name: Set up Scala
uses: olafurpg/setup-scala@v13
with:
java-version: [email protected]
- name: Compile
run: sbt compile
- name: Run tests
run: sbt test
- name: Build demo site
run: cd demo && npm ci && npm run build && cd ..
- name: Check generated values are in sync
run: sbt checkGeneratedFilesUpToDate
- name: Pushes to another repository
id: push_directory
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: demo/dist/
destination-github-username: 'sherpal'
destination-repository-name: 'laminar-ui5-demo'
user-email: [email protected]
commit-message: See ORIGIN_COMMIT from $GITHUB_REF
target-branch: master
- name: Test get variable exported by push-to-another-repository
run: echo $DESTINATION_CLONED_DIRECTORY