Create FTP action
This commit is contained in:
parent
96856e7887
commit
52e03265c6
1 changed files with 18 additions and 0 deletions
18
.github/workflows/ftp.yml
vendored
Normal file
18
.github/workflows/ftp.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
on: push
|
||||||
|
name: Deploy website on push
|
||||||
|
jobs:
|
||||||
|
web-deploy:
|
||||||
|
name: Deploy
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Get latest code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Sync files
|
||||||
|
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
|
||||||
|
with:
|
||||||
|
server: ftp.netim.hosting
|
||||||
|
username: AS12798_FTP1
|
||||||
|
password: ${{ secrets.ftp_password }}
|
||||||
|
local-dir: ./public/
|
||||||
|
server-dir: jankremer.eu/public_www/
|
||||||
Loading…
Add table
Add a link
Reference in a new issue