mirror of
https://github.com/InsanusMokrassar/KotlinPublicationScriptsBuilder.git
synced 2024-11-21 15:53:56 +00:00
add web publish step
This commit is contained in:
parent
881d268ea9
commit
2bbfe99ff4
8
.github/workflows/commit-release.yml
vendored
8
.github/workflows/commit-release.yml
vendored
@ -16,7 +16,13 @@ jobs:
|
||||
- name: Set version from gradle.properties
|
||||
run: echo "version=` cat gradle.properties | grep ^version= | grep -o [\\.0-9]* `" >> $GITHUB_ENV
|
||||
- name: Build
|
||||
run: ./gradlew packageUberJarForCurrentOS
|
||||
run: ./gradlew build packageUberJarForCurrentOS
|
||||
- name: Publish Web
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./web/build/distributions
|
||||
publish_branch: site
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
|
Loading…
Reference in New Issue
Block a user