test: no heredoc, echo-based
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: Deploy Test8
|
||||
run-name: Deploy Test8
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
ENV_TMPFILE: /tmp/nexus-deploy-env
|
||||
DEPLOY_PATH: /home/projekte_bao/openclaw/data/openclaw/workspace/nexus
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: main
|
||||
- name: Prepare env
|
||||
run: |
|
||||
echo "POSTGRES_DB=nexus" > "${ENV_TMPFILE}"
|
||||
echo "POSTGRES_PASSWORD=secret" >> "${ENV_TMPFILE}"
|
||||
echo "OK"
|
||||
- name: Health Check
|
||||
run: |
|
||||
curl -sf --max-time 10 https://nexus.noveria.net/health && echo "OK"
|
||||
Reference in New Issue
Block a user