Skip to content

Commit

Permalink
Hacking
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrudin committed Jun 12, 2024
1 parent 1700036 commit c71499e
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ jobs:
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
- name: Deploy JavaDoc
uses: MathieuSoysal/[email protected]
with:
deploy-mode: artifact
java-version: 11
project: gradle

# Deployment job
deploy:
Expand All @@ -54,3 +48,23 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

publish:
runs-on: ubuntu-latest
permissions:
contents: write # if you have a protection rule on your repository, you'll need to give write permission to the workflow.
steps:
- name: Publish marklogic-spark-connector
run: |
git clone https://github.com/marklogic/marklogic-spark-connector.git
cd marklogic-spark-connector
git checkout develop
./gradlew publishToMavenLocal
- name: Deploy JavaDoc
uses: MathieuSoysal/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
javadoc-branch: feature/publish-javadocs
java-version: 11
target-folder: javadoc
project: gradle

0 comments on commit c71499e

Please sign in to comment.