Skip to content

wait server ?

wait server ? #127

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Deploy
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
deploy:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: LS command
run: ls
- name: PWD command
run: pwd
- name: cp command
run: cp -r * /home/alex/VDI-API-INSA
- name: api-service restart
run: sudo systemctl restart api-vdi
- name: api-service status
run: sudo systemctl status api-vdi
- name: scheduler-service restart
run: sudo systemctl restart api-scheduler
- name: scheduler-service scheduler
run: sudo systemctl status api-scheduler