test: heredoc quoted
This commit is contained in:
@@ -0,0 +1,25 @@
|
|||||||
|
name: Deploy Test7
|
||||||
|
run-name: Deploy Test7
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
ENV_TMPFILE: /tmp/nexus-deploy-env
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: main
|
||||||
|
- name: Test heredoc quoted
|
||||||
|
run: |
|
||||||
|
HOST_PW="testpass"
|
||||||
|
cat > "${ENV_TMPFILE}" << 'ENVEOF'
|
||||||
|
POSTGRES_DB=nexus
|
||||||
|
POSTGRES_PASSWORD=secret
|
||||||
|
OWNER_PASSWORD=nonexpand
|
||||||
|
ENVEOF
|
||||||
|
echo "OK"
|
||||||
Reference in New Issue
Block a user