Skip to content

Commit

Permalink
Merge pull request #184 from splunk/DVPL-10787
Browse files Browse the repository at this point in the history
API docs upload automated
  • Loading branch information
bparmar-splunk authored Mar 10, 2022
2 parents 3cdd971 + 1db8127 commit f05a40f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
server-id: splunk-artifactory
- name: build
run: mvn package --file pom.xml -DskipTests=true
- name: Create temp artifacts apidocs folder
run: mkdir apidocs
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -32,3 +34,12 @@ jobs:
env:
MAVEN_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}

- name: Zip docs
run: zip -r apidocs/docs.zip splunk/target/apidocs

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: apidocs
path: apidocs/docs.zip

0 comments on commit f05a40f

Please sign in to comment.