-
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (24 loc) · 655 Bytes
/
deploy.yml
File metadata and controls
31 lines (24 loc) · 655 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: deploy
on:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: create _site
run: mkdir _site
- name: Download a single artifact
uses: actions/download-artifact@v3
with:
name: my-artifact
path: _site/
- name: copy file via ssh password
uses: appleboy/scp-action@v0.1.4
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
password: ${{ secrets.PASS }}
port: ${{ secrets.PORT }}
source: "_site"
target: ${{ secrets.URLP }}
rm: false