Skip to content

Commit

Permalink
artiq: build/deploy docs when uploading package
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Jul 8, 2018
1 parent 3317296 commit 787340b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,16 @@ addLitSteps(artiqBuildFactory,
# Upload the `artiq` package
addCondaUploadSteps(artiqBuildFactory,
force=True, label='dev')
# Build and upload ARTIQ documentation
addSphinxDocumentSteps(artiqBuildFactory,
source_path='doc/manual',
target_path='artiq/manual')
addSFTPUploadSteps(artiqBuildFactory,
source_path='artiq/manual',
target_host='m-labs.hk',
username=secrets['sftp']['username'],
password=secrets['sftp']['password'],
target_path=WithProperties('artiq/manual-%(branch:~master)s'))
# Build and upload the `artiq-board-*` package
addTriggerSteps(artiqBuildFactory,
builder_names=["artiq-board"],
Expand Down Expand Up @@ -561,16 +571,6 @@ addTriggerSteps(artiqBuildFactory,
'conda_version': WithProperties('%(output_version)s=%(output_build)s')})
addFlockReleaseSteps(artiqBuildFactory,
board=test_board)
# Build and upload ARTIQ documentation
addSphinxDocumentSteps(artiqBuildFactory,
source_path='doc/manual',
target_path='artiq/manual')
addSFTPUploadSteps(artiqBuildFactory,
source_path='artiq/manual',
target_host='m-labs.hk',
username=secrets['sftp']['username'],
password=secrets['sftp']['password'],
target_path=WithProperties('artiq/manual-%(branch:~master)s'))
# Teardown
addCondaTeardownTestEnvironmentSteps(artiqBuildFactory)

Expand Down

0 comments on commit 787340b

Please sign in to comment.