-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 1.01 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
31
32
33
34
35
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
permissions:
id-token: write
pages: write
steps:
-
name: Checkout
uses: actions/[email protected]
-
name: Configure Java
uses: actions/[email protected]
with:
java-version: 17
distribution: temurin
-
name: Build Static Sample
run: ./gradlew sample-web:distWeb
-
name: Upload Pages Artifact
uses: actions/[email protected]
with:
path: sample-web/build/dist/web
-
name: Deploy to GitHub Pages
uses: actions/[email protected]