-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 892 Bytes
/
dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# push site to dev server on dev commit/merge
on:
push:
branches:
- dev
name: Deploy website (dev) over SFTP
jobs:
deploy_job:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Deploy file(s)
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
with:
server: ${{ secrets.sftp_server }}
username: ${{ secrets.sftp_username }}
password: ${{ secrets.sftp_password }}
port: 22
local_path: './*'
remote_path: ${{ secrets.sftp_remote_path_dev }}
- name: Deploy file(s)
uses: wlixcc/SFTP-Deploy-Action@v1.2.4
with:
server: ${{ secrets.sftp_server }}
username: ${{ secrets.sftp_username }}
password: ${{ secrets.sftp_password }}
port: 22
local_path: './*'
remote_path: ${{ secrets.sftp_remote_path_dev }}