Skip to content

Commit

Permalink
Build & Deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
hellokenzo committed Jan 20, 2024
1 parent 8febc9a commit 69b62f7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy to SFTP

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Deploy to SFTP
uses: appleboy/scp-action@master
with:
host: ${{ secrets.SFTP_HOST }}
username: ${{ secrets.SFTP_USERNAME }}
password: ${{ secrets.SFTP_PASSWORD }}
source: "." # Dossier local à téléverser, ajustez selon votre configuration
target: "/nomdubot" # Dossier sur le serveur, ajustez selon votre configuration
strip_components: 1

0 comments on commit 69b62f7

Please sign in to comment.