Skip to content

Deploy docs/examples/* to demo hosting #4

Deploy docs/examples/* to demo hosting

Deploy docs/examples/* to demo hosting #4

Workflow file for this run

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/**