Files
nexus/.gitea/workflows/deploy-test6.yaml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: line 22: could not find expected ':'
devops b1dcf51218
CI - Build & Test / Backend (.NET) (push) Has been cancelled
CI - Build & Test / Frontend (Vue/TS) (push) Has been cancelled
CI - Build & Test / Security Check (push) Has been cancelled
test: heredoc
2026-06-21 21:37:02 +02:00

29 lines
560 B
YAML

name: Deploy Test6
run-name: Deploy Test6
on:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
env:
ENV_TMPFILE: /tmp/nexus-deploy-env
DEPLOY_PATH: /home/test
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
- name: Test heredoc
run: |
HOST_OWNER_PASSWORD="testpass"
cat > "${ENV_TMPFILE}" <<ENVEOF
POSTGRES_DB=nexus
POSTGRES_USER=nexus
POSTGRES_PASSWORD=secret
JWT_KEY=key123
OWNER_PASSWORD=${HOST_OWNER_PASSWORD}
ENVEOF
echo "OK"