-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create ibrain.one deployment GitHub action
- Loading branch information
1 parent
9cd287a
commit 9f453b7
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |