summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authornea <romangraef@loves.dicksinhisan.us>2021-12-09 03:13:36 +0100
committernea <romangraef@loves.dicksinhisan.us>2021-12-09 03:13:36 +0100
commit864f0714277b85a21703d0d2de5ffda3daee7a70 (patch)
treeda6e9fc032090d107d237984e44bb48506e48b3e /.github
parent3efd5ae38bf5467c3d61c9b3478ca96950104510 (diff)
downloadneamoe-864f0714277b85a21703d0d2de5ffda3daee7a70.tar.gz
neamoe-864f0714277b85a21703d0d2de5ffda3daee7a70.tar.bz2
neamoe-864f0714277b85a21703d0d2de5ffda3daee7a70.zip
gh actions
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..2c09ee8
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,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
+