File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 11name : Build and Deploy
22on :
3+ workflow_dispatch :
34 push :
45 branches :
56 - master
89 build-and-deploy :
910 runs-on : ubuntu-latest
1011
12+ # Load environment variables from repository settings,
13+ # environment should be named "production"
14+ # https://github.com/cadence-workflow/Cadence-Docs/settings/environments
15+ environment : production
16+ env :
17+ CADENCE_DOCS_URL : ${{ vars.CADENCE_DOCS_URL || 'https://cadenceworkflow.io' }}
18+ CADENCE_DOCS_BASE_URL : ${{ vars.CADENCE_DOCS_BASE_URL || '/Cadence-Docs/' }}
19+ CADENCE_DOCS_ORGANIZATION : ${{ vars.CADENCE_DOCS_ORGANIZATION || 'cadence-workflow' }}
20+
1121 steps :
1222 # same as build.yml
1323 - name : Checkout 🛎️
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ If you have a feature request or a bug to report file an issue against one of th
1515* [ Cadence Service and CLI] ( https://github.com/cadence-workflow/cadence )
1616* [ Cadence Go Client] ( https://github.com/cadence-workflow/cadence-go-client )
1717* [ Cadence Go Client Samples] ( https://github.com/cadence-workflow/cadence-samples )
18- * [ Cadence Java Client] ( https://github.com/uber-java /cadence-client )
18+ * [ Cadence Java Client] ( https://github.com/cadence-workflow /cadence-java -client )
1919* [ Cadence Java Client Samples] ( https://github.com/cadence-workflow/cadence-java-samples )
2020* [ Cadence Web UI] ( https://github.com/cadence-workflow/cadence-web )
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const config: Config = {
2525
2626 // Set the /<baseUrl>/ pathname under which your site is served
2727 // For GitHub pages deployment, it is often '/<projectName>/'
28- baseUrl : envReplace ( '${CADENCE_DOCS_BASE_URL:-/}' , process . env ) ,
28+ baseUrl : envReplace ( '${CADENCE_DOCS_BASE_URL:-/Cadence-Docs/ }' , process . env ) ,
2929
3030 // GitHub pages deployment config.
3131 // If you aren't using GitHub pages, you don't need these.
You can’t perform that action at this time.
0 commit comments