chore: update 1 file and delete 1 file

This commit is contained in:
2024-12-11 17:57:45 +01:00
parent cc42d6be63
commit 96869003af
2 changed files with 22 additions and 11 deletions

View File

@@ -6,7 +6,27 @@ on:
- main # Déclenche l'action pour la branche principale - main # Déclenche l'action pour la branche principale
jobs: jobs:
ssh-connect:
site-check:
runs-on: ubuntu-latest
# Linting du code HTML, CSS et JavaScript
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Lint HTML
run: npx htmlhint .
- name: Lint CSS
run: npx stylelint "**/*.css"
- name: Lint JavaScript
run: npx eslint .
deployment:
runs-on: ubuntu-latest # Utilisation de l'image Ubuntu pour l'environnement de job runs-on: ubuntu-latest # Utilisation de l'image Ubuntu pour l'environnement de job
steps: steps:
# Étape 1: Setup SSH # Étape 1: Setup SSH

View File

@@ -1,9 +0,0 @@
stages:
- deploy
deploy_timelapse:
stage: deploy
script:
- ssh kerboul@172.17.0.1 "cd /home/kerboul/scripts/timelapse && ./update_timelapse.sh -o"
only:
- main