diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index e3c80cf..9638ada 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -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: @@ -40,7 +40,7 @@ jobs: run: mvn -B clean verify deploy-docs: - # needs: tests + needs: tests runs-on: ubuntu-latest steps: - name: Checkout Repository @@ -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 }}