Skip to content

Commit 0987e5f

Browse files
authored
Update main.yml
1 parent 4b0168b commit 0987e5f

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
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 && git commit -a -m "updated linux.md" && gh repo sync
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 && git commit -a -m "updated linux.md" && gh repo sync

0 commit comments

Comments
 (0)