diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml
index d4dc8cc..634caa8 100644
--- a/.github/workflows/build-deploy.yml
+++ b/.github/workflows/build-deploy.yml
@@ -50,6 +50,7 @@ jobs:
- name: Replace environment variables
run: |
[ -z "${{ secrets[format('PROD_{0}_PM2_CONF_ENV', inputs.package_cap)] }}" ] || (
+ temp=$(mktemp)
echo "${{ secrets[format('PROD_{0}_PM2_CONF_ENV', inputs.package_cap)] }}" |
awk '
/env: {/,/}/ {
@@ -58,7 +59,9 @@ jobs:
next
}
{ print }
- ' packages/${{ inputs.package }}/ecosystem.config.js
+ ' packages/${{ inputs.package }}/ecosystem.config.js > "$temp"
+ cp --no-preserve=all "$temp" packages/${{ inputs.package }}/ecosystem.config.js
+ rm -f "$temp"
)
- name: Package the build
run: |
diff --git a/.idea/dictionaries/thrrip.xml b/.idea/dictionaries/thrrip.xml
index 9cd599a..d4ee202 100644
--- a/.idea/dictionaries/thrrip.xml
+++ b/.idea/dictionaries/thrrip.xml
@@ -7,6 +7,7 @@
dscreen
fortawesome
getline
+ mktemp
nuxtjs
shopt
webmanifest