Skip to content

Commit 61d19b8

Browse files
authored
Merge pull request #15 from circuscode/develop
Add GitHub Actions
2 parents 5b04f9d + 8675dd1 commit 61d19b8

File tree

4 files changed

+54
-0
lines changed

4 files changed

+54
-0
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.gitattributes export-ignore
2+
readme.md export-ignore
3+
LICENSE export-ignore
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on:
2+
push:
3+
branches:
4+
- develop
5+
name: Deploy@Dev
6+
jobs:
7+
web-deploy:
8+
name: Deploy
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Get latest code
12+
uses: actions/checkout@v3
13+
- name: FTP Deploy
14+
uses: SamKirkland/[email protected]
15+
with:
16+
server: unmus.de
17+
username: ${{ secrets.FTP_USER_GITHUBDEPLOY }}
18+
password: ${{ secrets.FTP_PASSWORD_GITHUBDEPLOY }}
19+
protocol: ftp
20+
server-dir: unmus/dev/wordpress/wp-content/plugins/mathilda/
21+
exclude: |
22+
**/.git*
23+
**/.git*/**
24+
readme.md
25+
LICENSE
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
name: Deploy@Public
6+
jobs:
7+
web-deploy:
8+
name: Deploy
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Get latest code
12+
uses: actions/checkout@v3
13+
- name: FTP Deploy
14+
uses: SamKirkland/[email protected]
15+
with:
16+
server: unmus.de
17+
username: ${{ secrets.FTP_USER_GITHUBDEPLOY }}
18+
password: ${{ secrets.FTP_PASSWORD_GITHUBDEPLOY }}
19+
protocol: ftp
20+
server-dir: unmus/public/wordpress/wp-content/plugins/tootpress/
21+
exclude: |
22+
**/.git*
23+
**/.git*/**
24+
readme.md
25+
LICENSE

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

0 commit comments

Comments
 (0)