Skip to content

Commit 0261b52

Browse files
author
AQUINO SANCHEZ Jorge
committed
Update sftp in action
1 parent d1e13e1 commit 0261b52

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/11ty.yml

+18-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,26 @@ jobs:
1717
- name: Install dependencies & build
1818
run: |
1919
npm ci
20-
- run: npm run build
20+
- run: npx @11ty/eleventy
2121
- name: Deploy
2222
uses: peaceiris/actions-gh-pages@v3
2323
with:
2424
publish_dir: dist
2525
github_token: ${{ secrets.GITHUB_TOKEN }}
26+
27+
# Send Github page to sparna.fr
28+
- name: SFTP Transfer
29+
uses: danhendrickson/sftp-transfer-action@v2023.51.2
30+
with:
31+
# Server name secret
32+
server: ${{ secrets.SERVER }}
33+
# Username secret
34+
user: ${{ secrets.USER }}
35+
# Password secret
36+
pass: ${{ secrets.PASSWORD }}
37+
# Port
38+
port: 22
39+
# Local Path
40+
local-path: "dist"
41+
# Remote Path
42+
remote-path: ${{ secrets.REMOTE_PATH }}

0 commit comments

Comments
 (0)