Skip to content

Instantly share code, notes, and snippets.

@piedoom
Created October 8, 2020 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piedoom/4e0e58063661d374a423f25f8896e2ca to your computer and use it in GitHub Desktop.
Save piedoom/4e0e58063661d374a423f25f8896e2ca to your computer and use it in GitHub Desktop.
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