blob: 2c09ee82314e3b1e9a4b136069c05f5b4adf1db7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout/@v2
- uses: actions/setup-java@v1
with:
java-version: 8
- run: ./gradlew clean build
- name: Github Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/distributions
|