Skip to content

Commit 6abcfae

Browse files
authored
added dry run test action
1 parent bc9a5b3 commit 6abcfae

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on: push
2+
name: Publish Website
3+
jobs:
4+
web-deploy:
5+
name: 🚀 Deploy Website Every Commit
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: 🚚 Get Latest Code
9+
uses: actions/checkout@v3
10+
11+
- name: 📂 Sync Files
12+
uses: SamKirkland/web-deploy@v1
13+
with:
14+
target-server: mi3-sr24.supercp.com
15+
remote-user: samkirkland
16+
remote-key: ${{ secrets.SSH_KEY }}
17+
ssh-port: 7822
18+
destination-path: ~/
19+
rsync-options: --dry-run --archive --verbose --compress --delete-after --human-readable --exclude=.git* --exclude=.git/ --exclude=README.md --exclude=readme.md --exclude=.gitignore

0 commit comments

Comments
 (0)