Skip to content

Commit 6f7dafa

Browse files
committed
Try automatic deployment action
1 parent 18f680f commit 6f7dafa

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/build.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build site
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Lume Build
19+
uses: lumeland/build/gh-pages@main
20+
21+
- name: Deploy to Server
22+
uses: easingthemes/ssh-deploy@main
23+
env:
24+
SSH_PRIVATE_KEY: ${{ secrets.SERVER_KEY }}
25+
SOURCE: "_site/"
26+
REMOTE_HOST: jmad.madridjug.es
27+
REMOTE_USER: ${{ secrets.SERVER_USER }}
28+
TARGET: ${{ secrets.SERVER_PATH }}
29+
EXCLUDE: "/dist/, /node_modules/"

0 commit comments

Comments
 (0)