Created
October 8, 2020 15:19
-
-
Save piedoom/4e0e58063661d374a423f25f8896e2ca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: pipeline | |
name: default | |
steps: | |
- name: doc | |
image: rustlang/rust:nightly | |
commands: | |
- apt update | |
- apt install libasound2-dev -y | |
- cargo doc --no-deps --document-private-items | |
- name: publish | |
image: plugins/s3 | |
settings: | |
bucket: my-bucket | |
access_key: XXXXXX | |
secret_key: XXXXXX | |
source: target/doc/**/* | |
region: my-region | |
target: /mytarget/folder/ | |
strip_prefix: target/doc/ | |
acl: public-read # This makes it available on the open web if you have the link so be aware |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment