Skip to content

Upload to KeyCDN

Upload to KeyCDN #13

Workflow file for this run

name: Upload to KeyCDN
on: workflow_dispatch
jobs:
ftp-upload:
name: 🎉 Upload
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Generating components
run: |
npm install total4
node cdn.js
ls cdn/ -la
- name: FTP Deployer
uses: sand4rt/[email protected]
with:
host: ${{ secrets.KEYCDN_SERVER }}
username: ${{ secrets.KEYCDN_USERNAME }}
password: ${{ secrets.KEYCDN_PASSWORD }}
remote_folder: /uibuilder/
local_folder: cdn/