Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

try with s3 push action #4696

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion ci/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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