mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-19 18:27:29 -05:00
change bucket name for workflows (#353)
This commit is contained in:
2
.github/workflows/build-alpha.yml
vendored
2
.github/workflows/build-alpha.yml
vendored
@@ -51,4 +51,4 @@ jobs:
|
|||||||
aws-region: ${{secrets.AWS_REGION}}
|
aws-region: ${{secrets.AWS_REGION}}
|
||||||
role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}
|
role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}
|
||||||
- name: Sync to S3
|
- 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/
|
||||||
|
|||||||
2
.github/workflows/build-latest.yml
vendored
2
.github/workflows/build-latest.yml
vendored
@@ -60,4 +60,4 @@ jobs:
|
|||||||
role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}
|
role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
if: github.ref == 'refs/heads/main'
|
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
|
||||||
|
|||||||
2
.github/workflows/sync-examples.yml
vendored
2
.github/workflows/sync-examples.yml
vendored
@@ -30,4 +30,4 @@ jobs:
|
|||||||
role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}
|
role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}
|
||||||
- name: Sync to S3
|
- name: Sync to S3
|
||||||
# Sync outdated or new files, delete ones no longer in source
|
# 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
|
||||||
|
|||||||
Reference in New Issue
Block a user