We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd1c30a commit b82b7acCopy full SHA for b82b7ac
.github/workflows/deploy.yml
@@ -0,0 +1,34 @@
1
+name: "build and deploy umfrage.lokallabore.de"
2
+on:
3
+ push:
4
+ branches:
5
+ - main
6
+
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v4
13
14
+ - name: Install Node.js
15
+ uses: actions/setup-node@v4
16
+ with:
17
+ node-version: 18
18
+ cache: "npm"
19
20
+ - name: Install dependencies
21
+ run: npm install
22
23
+ - name: Run build task
24
+ run: npm run build
25
26
+ - name: Deploy to Server
27
+ uses: easingthemes/ssh-deploy@main
28
+ env:
29
+ SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
30
+ ARGS: "-rlgoDzvc -i --delete"
31
+ SOURCE: build/
32
+ REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
33
+ REMOTE_USER: ${{ secrets.REMOTE_USER }}
34
+ TARGET: ${{ secrets.REMOTE_TARGET }}
0 commit comments