Skip to content

Commit

Permalink
Implement native endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Sep 23, 2024
1 parent 8379c2c commit 7e6ddae
Showing 1 changed file with 0 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,48 +42,3 @@ jobs:
uses: docker-practice/actions-setup-docker@master
- name: Run unit & integration tests
run: mvn -B clean verify

documentation:
name: Test & Release Documentation (including Javadoc)
needs: tests
outputs:
outcome: ${{ job.status }}
continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Test environment setup
uses: ./.github/actions/ci-setup
- name: Install dependencies
working-directory: docs
run: yarn
- name: Build documentations
working-directory: docs
run: yarn build
- name: Generate Javadoc
run: mvn -B clean javadoc:javadoc
- name: Move Javadoc into documentation directory
if: github.ref == 'refs/heads/master'
run: mv target/site/apidocs/ docs/build/apidocs/
- name: Deploy documentation (including Javadoc) to GitHub Pages
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build
enable_jekyll: false
user_name: ${{ env.USER }}
user_email: ${{ env.EMAIL }}

slack-notification:
name: Send Slack Notification
if: ${{ always() }}
needs: [documentation, docker-image]
uses: QubitPi/hashistack/.github/workflows/slack-notification.yml@master
with:
job-status: ${{ (needs.documentation.outputs.outcome == 'success' && needs.docker-image.outputs.outcome == 'success') && 'success' || 'failure' }}
secrets:
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit 7e6ddae

Please sign in to comment.