File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed
Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change 44 workflow_dispatch :
55 inputs :
66 branch :
7- description : ' The branch for which the RN have to be generated, e.g. "master" or "v6-34 -00-patches"'
7+ description : ' The branch for which the RN have to be generated, e.g. "master" or "v6-38 -00-patches"'
88 type : string
99 required : true
1010 default : " master"
2929 - name : Install XRootD client
3030 run : sudo apt-get -y install xrootd-client
3131
32- - name : Install AWS CLI
33- run : |
34- python -m pip install --upgrade pip
35- pip install awscli==1.36.40
36- aws configure set default.s3.max_concurrent_requests 128
37-
3832 - name : Setup Pandoc
3933 run : sudo apt-get -y install pandoc
4034
6862 echo +++ Running the copy
6963 export DIRNAME=`ls -1|grep -v relnotes|grep -v root`
7064 xrdcp -rf ${DIRNAME} ${EOS_ENDPOINT}/${EOS_PATH}/
71-
72- - name : Sync documentation to S3
73- env :
74- AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
75- AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
76- AWS_ENDPOINT_URL : https://s3.cern.ch/
77- working-directory : ${{ env.WORKDIR }}
78- run : |
79- echo +++ Content
80- ls
81- echo +++ Running the command
82- export S3DIRNAME=`ls -1|grep -v relnotes|grep -v root`
83- aws s3 sync ${S3DIRNAME}/ s3://root/doc/${S3DIRNAME}
You can’t perform that action at this time.
0 commit comments