From 98e7e7b356a65d61eb420b6f86e02038e1e23298 Mon Sep 17 00:00:00 2001 From: "Nicholas H.Tollervey" Date: Fri, 10 May 2024 14:48:38 +0100 Subject: [PATCH] Update GH action to copy over main.py and mini-coi.js. --- .github/workflows/deploy-to-s3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-to-s3.yml b/.github/workflows/deploy-to-s3.yml index 063f5c4..47035ec 100644 --- a/.github/workflows/deploy-to-s3.yml +++ b/.github/workflows/deploy-to-s3.yml @@ -23,5 +23,5 @@ jobs: role-to-assume: ${{ secrets.AWS_OIDC_RUNNER_ROLE }} - name: Sync to S3 run: | # Sync index and security txt, exclude hidden files; Sync assets and remove any that aren't in source - aws s3 sync . s3://pyscript.net/ --exclude ".*" --include ".well-known/security.txt" --include "index.html" --include "error.html" + aws s3 sync . s3://pyscript.net/ --exclude ".*" --include ".well-known/security.txt" --include "index.html" --include "error.html" --include "mini-coi.js" --include "main.py" aws s3 sync --delete assets/ s3://pyscript.net/assets/