-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 1 KB
/
pushes.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Latest Build
on:
push:
branches: [master]
jobs:
tests:
uses: inkapplications/.github/.github/workflows/[email protected]
publish-site:
name: Publish Site
needs: [tests]
runs-on: ubuntu-latest
steps:
-
name: Build Static Sample
run: ./gradlew sample-web:buildStatic sample-web:assemble
-
name: Create Deploy Directory
run: |
mkdir -p build/pages
cp -r sample-web/build/static/* build/pages/
cp -r sample-web/build/dist/js/productionExecutable/* build/pages/
mv build/pages/sample.html build/pages/index.html
-
name: Upload Pages Artifact
uses: actions/[email protected]
with:
path: build/pages
-
name: Deploy to GitHub Pages
uses: actions/[email protected]