Merge pull request #6 from m3dev/feat/animation #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
on: | |
push: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: torisetsu | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
- name: grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: build | |
run: | | |
./gradlew build | |
- name: deploy | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: github-pages | |
FOLDER: torisetsu/build/dist/js/productionExecutable | |
CLEAN: true |