Skip to content

Merge pull request #26 from WildCodeSchool-2023-09/last_fixes #6

Merge pull request #26 from WildCodeSchool-2023-09/last_fixes

Merge pull request #26 from WildCodeSchool-2023-09/last_fixes #6

name: CD-traefik
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to VPS
uses: appleboy/ssh-action@master
with:
username: ${{ secrets.SSH_USER }}
host: ${{ secrets.SSH_HOST }}
password: ${{ secrets.SSH_PASSWORD }}
script: cd && cd traefik/deploy && bash ./php-project.sh ${{ github.repository_owner }} ${{ github.event.repository.name }} ${{ vars.PROJECT_NAME }} '${{ toJSON(vars) }}'