diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml deleted file mode 100644 index 176901d..0000000 --- a/.github/workflows/python-app.yml +++ /dev/null @@ -1,36 +0,0 @@ -# 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 -