Skip to content

Commit 67bdf09

Browse files
committed
build: clean up GitHub actions
1 parent 71ee9f6 commit 67bdf09

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build-and-push.yml

-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ jobs:
1111
steps:
1212
- name: Checkout code
1313
uses: actions/checkout@v4
14-
with:
15-
persist-credentials: false
1614

1715
- name: Set up JDK 21
1816
uses: actions/setup-java@v4

.github/workflows/gh-pages-deploy.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ jobs:
2121
- name: Make gradlew executable
2222
run: chmod +x ./gradlew
2323

24-
- name: Build project
25-
run: ./gradlew clean build
24+
- name: Build JS artifact
25+
run: ./gradlew jsBrowserDistribution
26+
27+
- name: List distributions
28+
run: ls -la build/distributions
2629

2730
- name: Deploy
28-
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
2931
uses: JamesIves/github-pages-deploy-action@v4
3032
with:
3133
branch: gh-pages # The branch the action should deploy to.

0 commit comments

Comments
 (0)