Skip to content

Commit bfd6380

Browse files
committed
Add github workflow for deployment
1 parent 4b3b47d commit bfd6380

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v3
14+
15+
- name: Deploy over SSH
16+
uses: appleboy/[email protected]
17+
with:
18+
host: ${{ secrets.SERVER_HOST }}
19+
username: ${{ secrets.SERVER_USER }}
20+
key: ${{ secrets.SSH_KEY }}
21+
script: /home/github/deploy-piwheelsblog.sh

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ build:
22
BEEMO_CONFIG=config.yml beemo
33

44
serve:
5-
python -m http.server -d www 8001 &
5+
python -m http.server -d www 8004 &

0 commit comments

Comments
 (0)