Merge pull request #7 from Woodpile37/dependabot/gradle/com.squareup.… #7
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: Build | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
with: | |
submodules: recursive | |
- name: Build | |
run: | | |
./gradlew run | |
- name: Run yarn install | |
uses: borales/actions-yarn@v4 | |
with: | |
dir: 'website' | |
cmd: install # will run `yarn install` command | |
- name: Run yarn build | |
uses: borales/actions-yarn@v4 | |
with: | |
dir: 'website' | |
cmd: run build # will run `yarn test` command | |
- name: Merge | |
run: | | |
cp -a output/. website/public/ | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: website/public |