Skip to content

Merge pull request #5 from WildCodeSchool/fix-readme-file-wuser-expla… #9

Merge pull request #5 from WildCodeSchool/fix-readme-file-wuser-expla…

Merge pull request #5 from WildCodeSchool/fix-readme-file-wuser-expla… #9

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.event.repository.owner.name }} ${{ github.event.repository.name }} ${{ vars.PROJECT_NAME }} '${{ toJSON(vars) }}'