We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4fbd6d commit 433501eCopy full SHA for 433501e
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,23 @@
1
+name: Deploy to my Raspberry Pi
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ Deploy:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Deploy to my Raspberry Pi
13
+ uses: appleboy/ssh-action@v1.0.3
14
+ with:
15
+ host: ${{ secrets.HOST }}
16
+ username: ${{ secrets.USERNAME }}
17
+ password: ${{ secrets.PASSWORD }}
18
+ script_stop: true
19
+ script: |
20
+ cd /apps/bookmarket
21
+ git pull origin main
22
+ docker compose down
23
+ docker compose up -d --build
0 commit comments