Skip to content

Commit

Permalink
Self-review
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Nov 17, 2024
1 parent 4f10467 commit 94a3fa0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
---
name: Template CI/CD
name: CI/CD

"on":
pull_request:
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
run: mvn -B clean verify

deploy-docs:
# needs: tests
needs: tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand All @@ -56,13 +56,13 @@ jobs:
- name: Generate Javadoc
run: mvn -B clean javadoc:javadoc
- name: Move Javadoc into documentation directory
#if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master'
run: mv target/site/apidocs/ docs/build/apidocs/
- name: Load CNAME file
#if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master'
run: cp docs/CNAME docs/build
- name: Deploy Documentation (including Javadoc) to GitHub Pages
#if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 94a3fa0

Please sign in to comment.