Skip to content
This repository was archived by the owner on Jun 18, 2023. It is now read-only.

Commit c0a46ec

Browse files
timonbackstavshamir
authored andcommitted
Deploy to gh pages
1 parent 25229d0 commit c0a46ec

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.github/workflows/springwolf-ui.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: springwolf-ui
22

33
on: push
44

5+
permissions:
6+
contents: write
7+
58
jobs:
69
build:
710
runs-on: ubuntu-latest
@@ -13,8 +16,14 @@ jobs:
1316
with:
1417
java-version: 1.8
1518

16-
- name: Grant execute permission for gradlew
17-
run: chmod +x gradlew
19+
- name: Setup Gradle
20+
uses: gradle/gradle-build-action@v2
21+
22+
- name: Build
23+
run: ./gradlew npm_run_build-dev
1824

19-
- name: Build with Gradle
20-
run: ./gradlew build -x signArchives
25+
- name: Deploy to gh pages 🚀
26+
if: github.ref == 'refs/heads/master'
27+
uses: JamesIves/github-pages-deploy-action@v4
28+
with:
29+
folder: dist/springwolf-ui/

0 commit comments

Comments
 (0)