Update deploy action
This commit is contained in:
parent
5c2ad7bd23
commit
e64c8e6288
2 changed files with 8 additions and 18 deletions
18
.github/workflows/ftp.yml
vendored
18
.github/workflows/ftp.yml
vendored
|
|
@ -1,18 +0,0 @@
|
||||||
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/
|
|
||||||
|
|
@ -61,6 +61,14 @@ jobs:
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: ./public
|
path: ./public
|
||||||
|
- name: FTP Deploy
|
||||||
|
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/
|
||||||
|
|
||||||
# Deployment job
|
# Deployment job
|
||||||
deploy:
|
deploy:
|
||||||
Loading…
Add table
Add a link
Reference in a new issue