This app allows you to deploy your application using GitHub Actions over http without requiring SSH access. The process involves sending your binary file to the server, where the app will receive it and execute the commands you specify.
cd cmd
./build_script.sh
cd ..cd build
pm2 start package.json
cd ..cd build
./http-remote-accessIf you're on Windows:
cd build
http-remote-access.exeThis server exposes three HTTP POST endpoints for uploading and running scripts with streaming logs.
Upload a ZIP file which will be extracted on the server.
- Content-Type:
multipart/form-data - Form fields:
file(required): ZIP file to upload and extracttarget(required): target directory to extract the ZIP contents into
curl -X POST http://<your-domain>/upload-only \
-F "file=@./your-archive.zip" \
-F "target=/path/to/extract"Upload a ZIP file, extract it, then run a shell script.
- Content-Type:
multipart/form-data - Form fields:
file(required): ZIP file to upload and extracttarget(required): target directory to extract the ZIP contents intoscript(required): shell command/script to run inside the target directory after extraction
curl -X POST http://<your-domain>/upload-only \
-F "file=@./your-archive.zip" \
-F "target=/path/to/extract" \
-F "script=./deploy.sh"Run a shell script on the server without uploading anything.
- Content-Type:
multipart/form-data - Form fields:
script(required): shell command/script to execute
curl -X POST http://<your-domain>/upload-only \
-d "script=./deploy.sh" \