Skip to content

Commit

Permalink
Update docs publish path to start with /docs (#4463)
Browse files Browse the repository at this point in the history
* Update docs publish path to start with /docs

Required since the docs were migrated

* Apply suggestions from code review

Co-authored-by: Nikola Irinchev <irinchev@me.com>

Co-authored-by: Nikola Irinchev <irinchev@me.com>
  • Loading branch information
Tom Duncalf and nirinchev committed Mar 31, 2022
1 parent 2b2d9d0 commit b6c3668
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/jsdoc-publish.yml
Expand Up @@ -47,6 +47,6 @@ jobs:
# --no-mime-magic --guess-mime-type flags to work around CSS incorrect MIME type issue
# (https://stackoverflow.com/questions/53708938/s3cmd-flagging-css-with-wrong-mime-type)
- name: Upload versioned docs (for archival)
run: s3cmd put --recursive --acl-public --no-mime-magic --guess-mime-type docs/output/realm/${{ steps.package-version.outputs.current-version}}/ s3://${{ secrets.DOCS_S3_BUCKET_NAME }}/realm-sdks/js/${{ steps.package-version.outputs.current-version}}/
run: s3cmd put --recursive --acl-public --no-mime-magic --guess-mime-type docs/output/realm/${{ steps.package-version.outputs.current-version}}/ s3://${{ secrets.DOCS_S3_BUCKET_NAME }}/docs/realm-sdks/js/${{ steps.package-version.outputs.current-version}}/
- name: Upload latest docs (to live site)
run: s3cmd put --recursive --acl-public --no-mime-magic --guess-mime-type docs/output/realm/${{ steps.package-version.outputs.current-version}}/ s3://${{ secrets.DOCS_S3_BUCKET_NAME }}/realm-sdks/js/latest/
run: s3cmd put --recursive --acl-public --no-mime-magic --guess-mime-type docs/output/realm/${{ steps.package-version.outputs.current-version}}/ s3://${{ secrets.DOCS_S3_BUCKET_NAME }}/docs/realm-sdks/js/latest/

0 comments on commit b6c3668

Please sign in to comment.