feat: host install & upload script

This commit is contained in:
CLARATION committed 2026-07-24 02:03:00 -07:00
1 parent 76742ca1aa
commit db76f591d0
3 files changed
+334 -1

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
name: "Build"
name: "Build palera1n"
on:
workflow_dispatch:
+33
View File
@@ -0,0 +1,33 @@
name: "Upload install script"
on:
workflow_dispatch:
push:
branches:
- main
paths:
- ".github/workflows/script.yml"
- "install.sh"
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Move
run: |
mkdir -p dist
cp install.sh dist/
- name: Upload artifact
uses: wangyucode/sftp-upload-action@v3
with:
host: ${{ secrets.NICKCHAN_FTP_HOST }}
port: ${{ secrets.NICKCHAN_FTP_PORT }}
username: palera1n
password: ${{ secrets.NICKCHAN_FTP_PASS }}
forceUpload: true
dryRun: false
localDir: 'dist/'
remoteDir: '/www/static.palera.in/scripts'