Skip to content

Commit c37ba99

Browse files
authored
Merge pull request #6 from johnymachine/upgrade-gha
upgrade GHA
2 parents f1a5e0b + 2aa46f4 commit c37ba99

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

.github/workflows/deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy to Server via FTP
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Deploy
17+
uses: SamKirkland/[email protected]
18+
with:
19+
server: ${{ secrets.FTP_SERVER }}
20+
username: ${{ secrets.FTP_USERNAME }}
21+
password: ${{ secrets.FTP_PASSWORD }}
22+
protocol: ftps
23+
port: 21
24+
local-dir: ./
25+
server-dir: /www/

.github/workflows/main.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)