forked from xytoki/TCShare
-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (28 loc) · 745 Bytes
/
php.yml
File metadata and controls
36 lines (28 loc) · 745 Bytes
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
34
35
36
name: PHP Composer
on:
push:
branches: [ master ]
pull_request:
types: [closed]
issue_comment:
types: [created, edited, deleted]
watch:
types: [started]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: composer install
- name: Create ftp-include file
run: echo "!_app/" > .git-ftp-include
- name: List output files
run: ls
- name: FTP-Deploy-Action
uses: SamKirkland/FTP-Deploy-Action@3.0.0
with:
ftp-server: ${{ secrets.FTP_SERVER }}
ftp-username: ${{ secrets.FTP_USERNAME }}
ftp-password: ${{ secrets.FTP_PASSWORD }}
git-ftp-args: --remote-root public_html