Skip to content

Commit

Permalink
Déploiement continu
Browse files Browse the repository at this point in the history
  • Loading branch information
max-208 authored Mar 6, 2024
1 parent 3fceed5 commit 07bdc24
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploying

on:
push:
branches:
- main

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest

steps:
- name: executing remote ssh commands using ssh key
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_PASSWORD }}
script: sh /home/ubuntu/AlterBot/deploy.sh

0 comments on commit 07bdc24

Please sign in to comment.