Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions common/config/azure-pipelines/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,18 @@ jobs:
- checkout: self
persistCredentials: true
- template: templates/build.yaml
- script: |
EXTRAHEADER=$(git config --get-regexp 'http\..*\.extraheader' 2>/dev/null | head -1)
TOKEN_B64=$(echo "$EXTRAHEADER" | sed 's/.*AUTHORIZATION: basic //')
GIT_PASS=$(echo "$TOKEN_B64" | base64 --decode | sed 's/^.*://')
echo "##vso[task.setvariable variable=GIT_PASS;issecret=true]$GIT_PASS"
displayName: 'Extract Git credentials'
- ${{ each site in parameters.sites }}:
# Upload the docusaurous output to the GH Pages repos
- script: 'node ../../common/scripts/install-run-rushx.js deploy'
displayName: 'Deploy ${{ site }}'
workingDirectory: 'websites/${{ site }}'
env:
TARGET: prod
GIT_USER: rushbot
GIT_PASS: $(GIT_PASS)
2 changes: 1 addition & 1 deletion websites/api-extractor.com/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const config = {
organizationName: 'microsoft',
projectName: 'api-extractor.com-website',

// Deployment settings above can be overriden based on the TARGET determined at runtime
// Deployment settings above can be overridden based on the TARGET determined at runtime
...siteConfig.configOverrides,

stylesheets: [
Expand Down
2 changes: 1 addition & 1 deletion websites/api.rushstack.io/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const config = {
organizationName: 'microsoft',
projectName: 'api.rushstack.io-website',

// Deployment settings above can be overriden based on the TARGET determined at runtime
// Deployment settings above can be overridden based on the TARGET determined at runtime
...siteConfig.configOverrides,

stylesheets: [
Expand Down
2 changes: 1 addition & 1 deletion websites/heft.rushstack.io/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const config = {
organizationName: 'microsoft',
projectName: 'heft.rushstack.io-website',

// Deployment settings above can be overriden based on the TARGET determined at runtime
// Deployment settings above can be overridden based on the TARGET determined at runtime
...siteConfig.configOverrides,

stylesheets: [
Expand Down
2 changes: 1 addition & 1 deletion websites/lfx.rushstack.io/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const config = {
organizationName: 'microsoft',
projectName: 'lfx.rushstack.io-website',

// Deployment settings above can be overriden based on the TARGET determined at runtime
// Deployment settings above can be overridden based on the TARGET determined at runtime
...siteConfig.configOverrides,

stylesheets: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ensureConsistentVersions policy, upgrade-interactive will update all packages
which use the dependencies that you are upgrading and match their SemVer
range if provided. If ensureConsistentVersions is not enabled,
upgrade-interactive will only update the dependency in the package you
specify. This can be overriden by using the --make-consistent flag.
specify. This can be overridden by using the --make-consistent flag.

Optional arguments:
-h, --help Show this help message and exit.
Expand Down
2 changes: 1 addition & 1 deletion websites/rushjs.io/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const config = {
organizationName: 'microsoft',
projectName: 'rushjs.io-website',

// Deployment settings above can be overriden based on the TARGET determined at runtime
// Deployment settings above can be overridden based on the TARGET determined at runtime
...siteConfig.configOverrides,

stylesheets: [
Expand Down
2 changes: 1 addition & 1 deletion websites/rushstack.io/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const config = {
organizationName: 'microsoft',
projectName: 'rushstack.io-website',

// Deployment settings above can be overriden based on the TARGET determined at runtime
// Deployment settings above can be overridden based on the TARGET determined at runtime
...siteConfig.configOverrides,

stylesheets: [
Expand Down
2 changes: 1 addition & 1 deletion websites/tsdoc.org/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const config = {
organizationName: 'microsoft',
projectName: 'tsdoc.org-website',

// Deployment settings above can be overriden based on the TARGET determined at runtime
// Deployment settings above can be overridden based on the TARGET determined at runtime
...siteConfig.configOverrides,

stylesheets: [
Expand Down