Skip to content

Commit

Permalink
build: keep old deltas
Browse files Browse the repository at this point in the history
  • Loading branch information
nistei committed Jan 11, 2021
1 parent 8fd6262 commit d7b06a2
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ jobs:
asset_content_type: application/octet-stream

- name: Upload to CDN
uses: LibreTexts/do-space-sync-action@master
with:
args: --acl public-read
env:
SOURCE_DIR: ./out/make/squirrel.windows/x64/
DEST_DIR: installer
SPACE_NAME: ${{ secrets.CDN_SPACE_NAME }}
SPACE_REGION: ${{ secrets.CDN_SPACE_REGION }}
SPACE_ACCESS_KEY_ID: ${{ secrets.CDN_SPACE_ACCESS_KEY_ID }}
SPACE_SECRET_ACCESS_KEY: ${{ secrets.CDN_SPACE_SECRET_ACCESS_KEY }}
run: |
mkdir -p ~/.aws
touch ~/.aws/credentials
echo "[default]
aws_access_key_id = ${{ secrets.CDN_SPACE_ACCESS_KEY_ID }}
aws_secret_access_key = ${{ secrets.CDN_SPACE_SECRET_ACCESS_KEY }}" > ~/.aws/credentials
aws s3 sync ./out/make/squirrel.windows/x64/ s3://${{ secrets.CDN_SPACE_NAME }}/installer \
--follow-symlinks \
--endpoint https://${{ secrets.CDN_SPACE_REGION }}.digitaloceanspaces.com --acl public-read

0 comments on commit d7b06a2

Please sign in to comment.