fix icon url #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |