From 489e277cfa13b7cbb8000861d3874cc664de5f20 Mon Sep 17 00:00:00 2001 From: Christine Tham Date: Sun, 31 Mar 2024 20:37:55 +1100 Subject: [PATCH] Do not optimise gallery photos --- .github/workflows/deploy.yml | 12 ++++++------ src/components/lightbox.astro | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b4d14e7..95ec67e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,10 +4,10 @@ on: # Trigger the workflow every time you push to the `main` branch # Using a different branch name? Replace `main` with your branch’s name push: - branches: [ main ] + branches: [main] # Allows you to run this workflow manually from the Actions tab on GitHub. workflow_dispatch: - + # Allow this job to clone the repo and create a page deployment permissions: contents: read @@ -20,12 +20,12 @@ jobs: steps: - name: Checkout your repository using git uses: actions/checkout@v4 - - name: Install, build, and upload your site + - name: Install, build, and upload your site output uses: withastro/action@v2 # with: - # package-manager: pnpm - # node-version: 18 - # path: . # The root location of your Astro project inside the repository. (optional) + # path: . # The root location of your Astro project inside the repository. (optional) + # node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 18. (optional) + # package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional) deploy: needs: build diff --git a/src/components/lightbox.astro b/src/components/lightbox.astro index 75be4c3..89d5344 100644 --- a/src/components/lightbox.astro +++ b/src/components/lightbox.astro @@ -50,12 +50,12 @@ const imagetitles = images.map((image) => image.src.split('/').reverse()[0].spli data-pswp-width={image.width} data-pswp-height={image.height} > - {imagetitles[i]}