Skip to content

Commit 56cef36

Browse files
authored
Create main.yml
1 parent a77183e commit 56cef36

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Upload file to remote server
2+
on: [push]
3+
jobs:
4+
build:
5+
name: Build
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Upload file to remote server
9+
uses: appleboy/ssh-action@v1
10+
with:
11+
host: ${{ secrets.HOST }}
12+
username: ${{ secrets.USER }}
13+
password: ${{ secrets.PASSWORD }}
14+
port: ${{ secrets.PORT }}
15+
script: cd /var/www/dansl.net/pages; wget -O linux.md https://raw.githubusercontent.com/dansl/LinuxOS-Stuff/refs/heads/main/README.md

0 commit comments

Comments
 (0)