File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7+ pull_request :
8+ branches : [master]
79 # Allows you to run this workflow manually from the Actions tab
810 workflow_dispatch :
911
@@ -30,10 +32,17 @@ jobs:
3032 env :
3133 DOCUSAURUS_URL : https://testplane.io
3234 DOCUSAURUS_BASE_URL : /
33- - name : Upload artifact
34- uses : actions/upload-pages-artifact@v3
35+ - name : Deploy website to S3 production
36+ uses :
jakejarvis/[email protected] 3537 with :
36- path : ./build
38+ args : --acl public-read --follow-symlinks
39+ env :
40+ AWS_S3_BUCKET : testplane-io
41+ AWS_ACCESS_KEY_ID : ${{ secrets.S3_PRODUCTION_ACCESS_KEY_ID }}
42+ AWS_SECRET_ACCESS_KEY : ${{ secrets.S3_PRODUCTION_SECRET_ACCESS_KEY }}
43+ AWS_S3_ENDPOINT : https://s3.yandexcloud.net/
44+ SOURCE_DIR : " build"
45+ DEST_DIR : " /"
3746
3847 # Deployment job
3948 deploy :
You can’t perform that action at this time.
0 commit comments