Skip to content

Commit

Permalink
Switch to using a docs-specific aws key for publishing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tgoyne committed Feb 14, 2024
1 parent f6c4474 commit 06f8bc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ jobs:
- name: Upload examples to artifacts library
uses: actions/upload-artifact@v4
with:
path: realm-examples.zip
name: realm-examples
path: realm-examples.zip
build-product: # Creates framework for each platform, xcode version, target and configuration
runs-on: macos-13
name: Package framework
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
name: Publish docs to S3 Bucket
needs: tag-release
env:
AWS_ACCESS_KEY_ID: ${{ secrets.UPDATE_CHECKER_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.UPDATE_CHECKER_SECRET_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_DOCS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_DOCS_SECRET_ACCESS_KEY }}
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 1 addition & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ create_xcframework() {
local platform="$3"

local out_path="$ROOT_WORKSPACE/$config/$platform/$product.xcframework"
# find "$ROOT_WORKSPACE" -maxdepth 5
find "$ROOT_WORKSPACE" -path "*/$config*/$product.framework" \
| sed 's/.*/-framework &/' \
| xargs xcodebuild -create-xcframework -allow-internal-distribution -output "$out_path"
Expand Down Expand Up @@ -1083,7 +1082,7 @@ case "$COMMAND" in

release-create-xcframework-*)
platform="$2"
xcode_version=$(echo "$COMMAND" | cut -d- -f4 )
xcode_version=$(echo "$COMMAND" | cut -d- -f4)

# Artifacts are nested zips so need to be extracted twice
find . -name 'build-*.zip' -exec unzip {} \;
Expand Down

0 comments on commit 06f8bc9

Please sign in to comment.