test
Some checks failed
Deploy App / test (push) Failing after 36s
Deploy App / deploy (push) Has been skipped

This commit is contained in:
valere
2025-09-19 20:46:37 +02:00
parent dcf19a7045
commit 1211bec113
2 changed files with 9 additions and 6 deletions

View File

@@ -1,24 +1,27 @@
name: Deploy App
on: [push]
jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Dummy test
run: echo "Tests OK"
- uses: actions/checkout@v4
- name: Install pnpm
run: npm install -g pnpm
- name: Install deps
run: pnpm install --frozen-lockfile
- name: Run linter
run: pnpm run eslint
deploy:
runs-on: ubuntu-22.04
needs: test
container:
image: alpine:3.20 # choisis une image si tu veux un container isolé
image: node:20-alpine
volumes:
- /var/docker-web:/var/docker-web
steps:
- uses: actions/checkout@v4
- name: Deploy with docker-web
run: |
APP_DIR="/var/docker-web/apps/${GITHUB_REPOSITORY##*/}"

View File

@@ -1,5 +1,5 @@
<template>
<h1 class="flex gap-y-4 items-center justify-center flex items-center justify-center min-h-screen">
<img src="/logo.svg" />
<img src="/logo.svg" >
</h1>
</template>