Skip to content

Commit f9cb527

Browse files
committed
don't release docs on every commit to master
1 parent 790d17b commit f9cb527

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -60,37 +60,37 @@ jobs:
6060
run: bash <(curl -s https://codecov.io/bash) || true
6161
env:
6262
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
63-
docs:
64-
name: Build and release docs
65-
if: github.ref == 'refs/heads/master'
66-
runs-on: ubuntu-latest
67-
steps:
68-
- name: Checkout
69-
uses: actions/checkout@v2
70-
with:
71-
path: sdk
72-
73-
- name: Checkout
74-
uses: actions/checkout@v2
75-
with:
76-
path: doc
77-
ref: gh-pages
78-
79-
- name: Setup Java
80-
uses: actions/setup-java@v2
81-
with:
82-
distribution: 'temurin'
83-
java-version: '11'
84-
85-
- run: ./gradlew alljavadoc
86-
working-directory: sdk
87-
88-
- run: rm -rf doc/javadoc && mv sdk/build/docs/javadoc doc/javadoc
89-
90-
- uses: stefanzweifel/git-auto-commit-action@v4
91-
with:
92-
repository: doc
93-
commit_message: "Update javadoc"
94-
commit_user_name: Auto Mation
95-
commit_user_email: [email protected]
96-
commit_author: Auto Mation <[email protected]>
63+
# docs:
64+
# name: Build and release docs
65+
# if: github.ref == 'refs/heads/master'
66+
# runs-on: ubuntu-latest
67+
# steps:
68+
# - name: Checkout
69+
# uses: actions/checkout@v2
70+
# with:
71+
# path: sdk
72+
#
73+
# - name: Checkout
74+
# uses: actions/checkout@v2
75+
# with:
76+
# path: doc
77+
# ref: gh-pages
78+
#
79+
# - name: Setup Java
80+
# uses: actions/setup-java@v2
81+
# with:
82+
# distribution: 'temurin'
83+
# java-version: '11'
84+
#
85+
# - run: ./gradlew alljavadoc
86+
# working-directory: sdk
87+
#
88+
# - run: rm -rf doc/javadoc && mv sdk/build/docs/javadoc doc/javadoc
89+
#
90+
# - uses: stefanzweifel/git-auto-commit-action@v4
91+
# with:
92+
# repository: doc
93+
# commit_message: "Update javadoc"
94+
# commit_user_name: Auto Mation
95+
# commit_user_email: [email protected]
96+
# commit_author: Auto Mation <[email protected]>

0 commit comments

Comments
 (0)