diff --git a/.github/workflows/ibrain.one.yml b/.github/workflows/ibrain.one.yml new file mode 100644 index 0000000..751e5e7 --- /dev/null +++ b/.github/workflows/ibrain.one.yml @@ -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/FTP-Deploy-Action@v4.3.4 + 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