-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FABN-1386: Publish docs to gh-pages branch
Signed-off-by: Mark S. Lewis <[email protected]>
- Loading branch information
1 parent
41d56ed
commit 99c2227
Showing
10 changed files
with
69 additions
and
58 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,21 +7,21 @@ trigger: | |
- master | ||
|
||
pool: | ||
vmImage: 'ubuntu-latest' | ||
vmImage: 'ubuntu-18.04' | ||
|
||
variables: | ||
SOFTHSM2_CONF: './test/fixtures/hsm/softhsm2.conf' | ||
SOFTHSM2_CONF: "$(Build.Repository.LocalPath)/test/fixtures/hsm/softhsm2.conf" | ||
|
||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
versionSpec: '8.x' | ||
versionSpec: '10.x' | ||
displayName: 'Install Node.js' | ||
|
||
- script: | | ||
sudo apt-get install softhsm2 | ||
softhsm2-util --init-token --slot 0 --label "My token 1" --pin 98765432 --so-pin 98765432 | ||
displayName: 'Install and configure SoftHSM' | ||
displayName: 'Install SoftHSM' | ||
|
||
- script: npm install | ||
displayName: 'npm install' | ||
|
@@ -35,15 +35,19 @@ steps: | |
- script: npx gulp run-test-all | ||
displayName: 'Run tests' | ||
|
||
# - script: scripts/ci_scripts/azurePublishNpmPackages.sh | ||
# displayName: 'Publish npm packages' | ||
# env: | ||
# NPM_TOKEN: ${NPM_TOKEN} | ||
|
||
# - script: scripts/ci_scripts/azurePublishApiDocs.sh | ||
# displayName: 'Publish API documentation' | ||
# env: | ||
# GITHUB_USER: 'fabric-sdk-node' | ||
# GITHUB_EMAIL: '[email protected]' | ||
# GITHUB_PASSWORD: $(GITHUB_PASSWORD) | ||
# PUBLISH_REPOSITORY: 'fabric-sdk-node/fabric-sdk-node' | ||
#- script: scripts/ci_scripts/azurePublishNpmPackages.sh | ||
# condition: and(succeeded(), eq(variables['Build.Reason'], 'IndividualCI')) | ||
# displayName: 'Publish npm packages' | ||
# env: | ||
# NPM_TOKEN: $(NPM) | ||
# PROJECT_DIR: "$(Build.Repository.LocalPath)" | ||
|
||
- script: scripts/ci_scripts/azurePublishApiDocs.sh | ||
condition: and(succeeded(), eq(variables['Build.Reason'], 'IndividualCI')) | ||
displayName: 'Publish API documentation' | ||
env: | ||
GITHUB_USER: 'Hyperledger Bot' | ||
GITHUB_EMAIL: '[email protected]' | ||
PUBLISH_URL: "https://$(GITHUB-PAT)@github.com/hyperledger/fabric-sdk-node.git" | ||
PROJECT_DIR: "$(Build.Repository.LocalPath)" | ||
STAGING_DIR: "$(Build.StagingDirectory)/gh-pages" |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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