File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed
Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments