Skip to content

Commit bcbe66c

Browse files
authored
Set target-path to content in deploy-site.yaml (#16)
1 parent 45e3a7a commit bcbe66c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/deploy-site.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ jobs:
4343
whoami: ${{ github.ref_name }}-site-stg-out
4444
subdir: content/
4545
target-branch: ${{ github.ref_name }}-site-stg-out
46+
# For some unknown reason, `target-path` needs to be `content`.
47+
# Fortunately, it is only `logging-site` that needs to implement this hack.
48+
# Other `logging-*` repositories using `deploy-site-reusable.yaml` can continue using the default `target-path`.
49+
# See https://issues.apache.org/jira/browse/INFRA-27533
50+
target-path: content
4651

4752
deploy-site-pro:
4853
if: github.repository == 'apache/logging-site' && github.ref_name == 'main-site-pro'
@@ -59,3 +64,8 @@ jobs:
5964
whoami: ${{ github.ref_name }}-out
6065
subdir: content/
6166
target-branch: ${{ github.ref_name }}-out
67+
# For some unknown reason, `target-path` needs to be `content`.
68+
# Fortunately, it is only `logging-site` that needs to implement this hack.
69+
# Other `logging-*` repositories using `deploy-site-reusable.yaml` can continue using the default `target-path`.
70+
# See https://issues.apache.org/jira/browse/INFRA-27533
71+
target-path: content

0 commit comments

Comments
 (0)