-
-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b0268f6
commit 7cde87b
Showing
3 changed files
with
20 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
on: | ||
push: | ||
branches-ignore: [ master ] | ||
branches-ignore: [ master, release/** ] | ||
|
||
permissions: | ||
contents: read | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,6 @@ jobs: | |
run: | | ||
export REMOTE="https://$GITHUB_ACTOR:[email protected]/$GITHUB_REPOSITORY.git" | ||
git remote set-url origin "$REMOTE" | ||
git clone "$REMOTE" --branch gh-pages build/gh-pages | ||
./gradlew build | ||
./gradlew -x build buildSite | ||
ls -AlF site/build/site | ||
|
@@ -43,10 +42,3 @@ jobs: | |
SIGNING_KEY: ${{ secrets.SIGNING_KEY }} | ||
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} | ||
run: ./gradlew --no-daemon -x test release | ||
|
||
- run: | | ||
cp -rf site/build/site/* build/gh-pages/ | ||
cd build/gh-pages | ||
git add --all | ||
git commit -m "Publishing to gh-pages" | ||
git push origin gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters