Fix cmake path and add deploy url affix

This commit is contained in:
TiejunZhou
2023-11-23 03:02:06 +00:00
parent 950db7b9a8
commit 44b31a283f
2 changed files with 7 additions and 2 deletions

View File

@@ -21,6 +21,10 @@ on:
default: './test/cmake'
required: false
type: string
deploy_url_affix:
default: ''
required: false
type: string
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
@@ -112,7 +116,7 @@ jobs:
needs: run_tests
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
url: ${{ steps.deployment.outputs.page_url }}${{ inputs.deploy_url_affix }}
permissions:
pages: write
id-token: write

View File

@@ -16,4 +16,5 @@ jobs:
with:
build_script: ./scripts/build_tx.sh
test_script: ./scripts/test_tx.sh
cmake_path: ./test/tx
cmake_path: ./test/tx/cmake
deploy_url_affix: tx/