mirror of
https://github.com/pyscript/pyscript.git
synced 2026-04-10 02:00:33 -04:00
Add prettier to pre-commit (#1255)
* Add prettier to pre-commit * Apply prettier
This commit is contained in:
23
.github/workflows/sync-examples.yml
vendored
23
.github/workflows/sync-examples.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: '[CI] Sync Examples'
|
||||
name: "[CI] Sync Examples"
|
||||
|
||||
on:
|
||||
release:
|
||||
@@ -16,13 +16,14 @@ jobs:
|
||||
|
||||
steps:
|
||||
# Deploy to S3
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Configure AWS credentials
|
||||
uses: aws-actions/configure-aws-credentials@v1.6.1
|
||||
with:
|
||||
aws-region: ${{ secrets.AWS_REGION }}
|
||||
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.net/examples/ # Sync directory, delete what is not in source
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Configure AWS credentials
|
||||
uses: aws-actions/configure-aws-credentials@v1.6.1
|
||||
with:
|
||||
aws-region: ${{ secrets.AWS_REGION }}
|
||||
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.net/examples/ # Sync directory, delete what is not in source
|
||||
|
||||
Reference in New Issue
Block a user