Skip to content

Merge pull request #263 from 42Blank/fix/seperate-code #165

Merge pull request #263 from 42Blank/fix/seperate-code

Merge pull request #263 from 42Blank/fix/seperate-code #165

Workflow file for this run

name: CD
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
command_timeout: 200m
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
script: |
cd /root/ft_transcendence
bash ./.script/deploy.sh
- name: Create commit comment
uses: peter-evans/commit-comment@v2
with:
body: |
Deploy completed!