Skip to content

Commit 3b71c7b

Browse files
committed
[ci] Refine doc upload procedure to enable upload to EOS
1 parent 690e2a0 commit 3b71c7b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/root-docs-ci.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,7 @@ jobs:
171171
pwd
172172
ls -l
173173
aws s3 sync ${DOC_DIR}/html/ s3://root/doc/${WEB_DIR_NAME}/
174-
mv ${DOC_DIR}/html /tmp/html
175-
aws s3 sync ${DOC_DIR}/ s3://root/doc/${WEB_DIR_NAME}/
174+
aws s3 sync ${DOC_DIR}/ s3://root/doc/${WEB_DIR_NAME}/ --exclude "${DOC_DIR}/html/*"
176175
aws s3 cp ${TAR_NAME}.gz s3://root/download/
177176
178177
- name: Install Kerberos utilities
@@ -194,7 +193,6 @@ jobs:
194193
run: |
195194
echo ${RWEBEOS_KT} | base64 -d > ${KT_FILE_NAME}
196195
kinit -p ${{ secrets.KRB5USER }}@${{ secrets.KRB5REALM }} -kt ${KT_FILE_NAME}
197-
mv /tmp/html ${DOC_DIR}/html
198196
xrdcp -rf ${DOC_DIR}/html/* ${EOS_ENDPOINT}/${EOS_BASE_PATH}/doc/${WEB_DIR_NAME}
199197
rm -r ${DOC_DIR}/html
200198
xrdcp -rf ${DOC_DIR}/* ${EOS_ENDPOINT}/${EOS_BASE_PATH}/doc/${WEB_DIR_NAME}

0 commit comments

Comments
 (0)