Skip to content

Merge pull request #2 from KernelGhost/main #34

Merge pull request #2 from KernelGhost/main

Merge pull request #2 from KernelGhost/main #34

Workflow file for this run

name: Upload Script
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Pre-Upload
run: |
mkdir upload
mv install.sh upload/install.sh
chmod +x upload/install.sh
- name: Upload artifact
uses: wangyucode/[email protected]
with:
host: ${{ secrets.STATIC_FTP_HOST }}
port: ${{ secrets.STATIC_FTP_PORT }}
username: static
password: ${{ secrets.STATIC_FTP_PASS }}
forceUpload: true
dryRun: false
localDir: 'upload/'
remoteDir: '/scripts'
exclude: '.cache*,.cache/,.DS_Store'