mirror of
https://github.com/pyscript/pyscript.git
synced 2026-02-13 07:01:00 -05:00
release, latest, unstable branches (#550)
* build unstable workflow * releases are synced to /latest and /releases/YYYY.MM.MICRO/ * slashes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
name: '[CI] Build Latest'
|
||||
name: '[CI] Build Unstable'
|
||||
|
||||
on:
|
||||
push: # Only run on merges into main that modify files under pyscriptjs/
|
||||
@@ -71,4 +71,4 @@ jobs:
|
||||
|
||||
- name: Sync to S3
|
||||
if: github.ref == 'refs/heads/main'
|
||||
run: aws s3 sync --quiet ./examples/build/ s3://pyscript.net/latest/
|
||||
run: aws s3 sync --quiet ./examples/build/ s3://pyscript.net/unstable/
|
||||
5
.github/workflows/publish-release.yml
vendored
5
.github/workflows/publish-release.yml
vendored
@@ -57,5 +57,6 @@ jobs:
|
||||
role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }}
|
||||
|
||||
- name: Sync to S3
|
||||
run: | # Overwrite "latest" alpha + versioned subdirectory
|
||||
aws s3 sync --quiet ./examples/build/ s3://pyscript.net/releases/${{ github.ref_name }}
|
||||
run: | # Update /latest and create an explicitly versioned directory under releases/YYYY.MM.MICRO/
|
||||
aws s3 sync --quiet ./examples/build/ s3://pyscript.net/latest/
|
||||
aws s3 sync --quiet ./examples/build/ s3://pyscript.net/releases/${{ github.ref_name }}/
|
||||
|
||||
Reference in New Issue
Block a user