Skip to content

Commit

Permalink
Initiate documentation site
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Jan 17, 2025
1 parent a96daa6 commit 3859128
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
run: mvn -B clean verify

deploy-docs:
#needs: tests
needs: tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand All @@ -95,13 +95,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 3859128

Please sign in to comment.