26 lines
480 B
YAML
26 lines
480 B
YAML
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"
|