-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (41 loc) · 1.15 KB
/
demo-hosting.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
on:
release:
types: [published]
branches: [main]
name: Deploy examples directory to demo.kcarlile.com on main branch releases
jobs:
web-deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Get latest code
uses: actions/checkout@v2
- name: Upload docs/examples/*
uses: SamKirkland/[email protected]
with:
server: 107.180.58.30
username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }}
local-dir: docs/examples/
server-dir: guitar-diagrams-js/
exclude: |
**/.git*
**/.git*/**
**/node_modules/**
testing.html
js/testing.js
- name: Upload *.js files to overwrite symlinks
uses: SamKirkland/[email protected]
with:
server: 107.180.58.30
username: ${{ secrets.ftp_username }}
password: ${{ secrets.ftp_password }}
local-dir: ./
server-dir: guitar-diagrams-js/js/guitar-diagrams-js/
exclude: |
**/.git*
**/.git*/**
**/node_modules/**
README.md
LICENSE
**/docs/**