test
This commit is contained in:
13
.github/workflows/deploy.yml
vendored
13
.github/workflows/deploy.yml
vendored
@@ -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##*/}"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user