Deploy docs/examples/* to demo hosting #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/** |