diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index dec6142c817..6b6b7b17ecf 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -60,6 +60,13 @@ jobs: mesosphere/docs /src/ci/deploy.sh echo "http://${{ env.HOSTNAME }}" shell: bash + - name: S3-push + uses: mesosphere/workflow-db/.github/workflows/release-publish-to-s3.yml@main + with: + aws_role_to_assume: arn:aws:iam::139475575661:role/dcos-docs-site + release_version: "" + target_bucket: ${{ env.BUCKET }} + target_folder: "" - name: Build & Deploy Main Docs run: | docker run \ diff --git a/ci/deploy.sh b/ci/deploy.sh index 58e6c8984f1..39d5e723e75 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -19,4 +19,4 @@ if [ "$BUCKET" != "docs-d2iq-com-preview" ]; then aws s3api put-bucket-website --bucket $BUCKET --website-configuration file:///src/.s3config.json fi -aws s3 sync --delete --quiet --acl bucket-owner-full-control ./build s3://$BUCKET +# aws s3 sync --delete --quiet --acl bucket-owner-full-control ./build s3://$BUCKET