diff options
author | nea <romangraef@gmail.com> | 2022-08-26 15:29:41 +0200 |
---|---|---|
committer | nea <romangraef@gmail.com> | 2022-08-26 15:29:41 +0200 |
commit | ed5889d825e6ac63973692700ea5cbdaae6500f8 (patch) | |
tree | 4c74e4ace4069be493d304a382fefceefbee050a /.github/workflows/build.yml | |
parent | 60608b4bb1759bb58d28923b3e222d8e11eaeafa (diff) | |
download | exhq.github.io-ed5889d825e6ac63973692700ea5cbdaae6500f8.tar.gz exhq.github.io-ed5889d825e6ac63973692700ea5cbdaae6500f8.tar.bz2 exhq.github.io-ed5889d825e6ac63973692700ea5cbdaae6500f8.zip |
moveshitaround
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..384b3e1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ + +on: push + + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: 8 + - run: | + cd console + ./gradlew build + - run: | + mkdir dist + cp -r static/* dist + mkdir dist/beta + cp -r console/build/distributions/* dist/beta + - uses: peaceiris/actions-gh-pages@v3 + if: ${{ github.ref == 'refs/heads/main' }} + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist + cname: exhq.gay + + |