From 3fa41e92278f7a6dd42aa6be152d10ebb8570640 Mon Sep 17 00:00:00 2001 From: Andrew Jarvis Date: Mon, 19 Feb 2024 04:07:21 -0500 Subject: [PATCH] Replace dracula.js file on prod build --- .github/workflows/build-and-deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index d3b0b74..9bac259 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -27,6 +27,10 @@ jobs: - name: Build application run: npm run build + - name: Replace dracula js file + run: | + curl ${{ secrets.DRACULA_URL }} > public/js/dracula.js + # See: https://github.com/orgs/community/discussions/25768#discussioncomment-3249186 - name: Set lowercase image name env var run: |