change bucket name for workflows (#353)

This commit is contained in:
Peter W
2022-05-12 16:43:07 -05:00
committed by GitHub
parent 86eb771cdc
commit 4fff4c808f
3 changed files with 3 additions and 3 deletions

View File

@@ -51,4 +51,4 @@ jobs:
aws-region: ${{secrets.AWS_REGION}}
role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}
- name: Sync to S3
run: aws s3 sync --quiet ./examples/build/ s3://pyscript-static/alpha/
run: aws s3 sync --quiet ./examples/build/ s3://pyscript.net/alpha/

View File

@@ -60,4 +60,4 @@ jobs:
role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}
- name: Sync to S3
if: github.ref == 'refs/heads/main'
run: aws s3 sync --quiet ./examples/build/ s3://pyscript-static/unstable
run: aws s3 sync --quiet ./examples/build/ s3://pyscript.net/unstable

View File

@@ -30,4 +30,4 @@ jobs:
role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}
- name: Sync to S3
# Sync outdated or new files, delete ones no longer in source
run: aws s3 sync --quiet --delete . s3://pyscript-static/examples/ # Sync directory, delete what is not in source
run: aws s3 sync --quiet --delete . s3://pyscript.net/examples/ # Sync directory, delete what is not in source