Skip to content

Commit

Permalink
Create ibrain.one deployment GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
mouimet-infinisoft authored Jan 26, 2024
1 parent 9cd287a commit 9f453b7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ibrain.one.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: ibrain one website

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

# FTP Deploy Action with TLS/SSL encryption
- name: FTP Deploy
uses: SamKirkland/[email protected]
with:
ftp-server: ${{ secrets.FTP_SERVER }}
ftp-username: ${{ secrets.FTP_USERNAME }}
ftp-password: ${{ secrets.FTP_PASSWORD }}
local-dir: websites/ibrain.one/
server-dir: /home/aiwahdli/ibrain.one/
port: 21
protocol: ftps # Using FTPS for TLS/SSL explicit encryption

0 comments on commit 9f453b7

Please sign in to comment.