Files
nexus/.gitea/workflows/deploy-test3.yaml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: line 30: could not find expected ':'
devops c750a5abcd
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: checkout + version + heredoc
2026-06-21 21:36:12 +02:00

36 lines
983 B
YAML

name: Deploy Test3
run-name: Deploy Test3
on:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
env:
DEPLOY_PATH: /home/projekte_bao/openclaw/data/openclaw/workspace/nexus
ENV_TMPFILE: /tmp/nexus-deploy-env
ENV_POSTGRES_PASSWORD: ${{ secrets.ENV_POSTGRES_PASSWORD }}
ENV_JWT_KEY: ${{ secrets.ENV_JWT_KEY }}
ENV_OPENCLAW_TOKEN: ${{ secrets.ENV_OPENCLAW_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: main
fetch-depth: 0
- name: Resolve Version
id: version
run: |
VERSION=$(cat VERSION | tr -d '[:space:]')
echo "version=${VERSION}" >> "$GITEA_OUTPUT"
- name: Prepare env
run: |
cat > "${ENV_TMPFILE}" <<ENVEOF
POSTGRES_PASSWORD=${ENV_POSTGRES_PASSWORD}
ENVEOF
echo "OK"
- name: Health Check
run: |
curl -sf --max-time 10 https://nexus.noveria.net/health && echo "OK"