aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorecho <91651232+exhq@users.noreply.github.com>2022-08-26 18:24:39 +0430
committerGitHub <noreply@github.com>2022-08-26 18:24:39 +0430
commit547f5955f1cca47750bfa18e31f1ee56f1b7b2f3 (patch)
tree1e3306d1fd56d12f9ccc97b4c43cec3982c53cde /.github/workflows/build.yml
parent60608b4bb1759bb58d28923b3e222d8e11eaeafa (diff)
parentc6c56d11b83d65c69b09007c7b43f0788b958ff2 (diff)
downloadexhq.github.io-547f5955f1cca47750bfa18e31f1ee56f1b7b2f3.tar.gz
exhq.github.io-547f5955f1cca47750bfa18e31f1ee56f1b7b2f3.tar.bz2
exhq.github.io-547f5955f1cca47750bfa18e31f1ee56f1b7b2f3.zip
Merge pull request #5 from romangraef/main
nea my beloved
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..e8c64d0
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,29 @@
+
+on: push
+
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-java@v1
+ with:
+ java-version: 8
+ - uses: gradle/gradle-build-action@v2
+ with:
+ arguments: build
+ build-root-directory: console
+ - 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
+
+