Skip to content

Commit fa045d0

Browse files
committed
Local libs
1 parent d8ff311 commit fa045d0

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: gradle/actions/setup-gradle@v4
3939

4040
- name: Build with Gradle Wrapper
41-
run: ./gradlew wasmJsBrowserDistribution
41+
run: ./gradlew wasmJsBrowserDistribution -s
4242

4343
- uses: actions/upload-artifact@v4
4444
name: Upload dist
@@ -52,9 +52,9 @@ jobs:
5252
permissions:
5353
contents: write
5454
steps:
55-
- uses: actions/checkout@v4
56-
with:
57-
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
55+
# - uses: actions/checkout@v4
56+
# with:
57+
# fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
5858

5959
- name: Download dist
6060
uses: actions/download-artifact@v4
@@ -63,11 +63,16 @@ jobs:
6363

6464
- run: ls -R
6565

66-
# - name: Push changes
67-
# uses: ad-m/github-push-action@master
68-
# with:
69-
# branch: pages
70-
# force: true
66+
- name: Commit files
67+
run: |
68+
git add .
69+
git commit -a -m "Push dist from ${{ github.sha }}"
70+
71+
- name: Push changes
72+
uses: ad-m/github-push-action@master
73+
with:
74+
branch: pages
75+
force: true
7176

7277
# https://github.com/marketplace/actions/github-push
7378

0 commit comments

Comments
 (0)