fix(ci): install node in runner for download-artifact and connect prometheus to memento-net
Some checks failed
CI / Deploy production (on server) (push) Successful in 3m28s
CI / Lint, Test & Build (push) Has been cancelled

This commit is contained in:
Antigravity
2026-05-21 20:07:06 +00:00
parent 7cf921a802
commit d7e72008ec
2 changed files with 12 additions and 0 deletions

View File

@@ -92,6 +92,15 @@ jobs:
if: github.ref == 'refs/heads/main' && github.event_name == 'push' if: github.ref == 'refs/heads/main' && github.event_name == 'push'
runs-on: docker-host runs-on: docker-host
steps: steps:
- name: Install Node.js for Gitea Actions
run: |
if command -v apk >/dev/null 2>&1; then
apk add --no-cache nodejs || true
elif command -v apt-get >/dev/null 2>&1; then
if command -v sudo >/dev/null 2>&1; then SUDO="sudo"; else SUDO=""; fi
$SUDO apt-get update -qq && $SUDO apt-get install -y -qq nodejs || true
fi
- name: Sync deploy scripts on server - name: Sync deploy scripts on server
run: | run: |
git config --global --add safe.directory /opt/memento || true git config --global --add safe.directory /opt/memento || true
@@ -105,6 +114,7 @@ jobs:
with: with:
name: web-artifact name: web-artifact
- name: Update .env.docker - name: Update .env.docker
env: env:
APP_URL: ${{ vars.APP_URL }} APP_URL: ${{ vars.APP_URL }}

View File

@@ -11,6 +11,8 @@ services:
- "9090:9090" - "9090:9090"
networks: networks:
- memento-monitoring - memento-monitoring
- memento-net
grafana: grafana:
image: grafana/grafana:latest image: grafana/grafana:latest