server-deploy
Skill168 starsChanged 2 months agoMITView on GitHub
Deploy perplexity-ai to its configured production server from the latest GitHub main source. Use when the user asks to deploy, publish, update, rebuild, restart, or roll out this project on the server.
- Reads credentials
- Commits and pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- leezhuuuuu/skillstheir own version, first seen Dec 29, 2025
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- leezhuuuuu/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- perplexity-searchSkill
- bump-versionSkill
- perplexity-searchSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 29
Stop if the push or equality check fails.
- Distinctive: line 72
Stop when the remote tracked worktree is dirty.
- Very specific: line 74
Never force-push, run git reset or git clean, run docker compose down, or delete images or volumes.
- Distinctive: line 76
Stop on a failed push, commit mismatch, build, health check, or status check.
- Distinctive: line 77
Do not add authorship or attribution trailers unless the user explicitly requests them and provides the exact identity.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Server Deploy
Target
- Local Git remote:
origin - Branch:
main - SSH host:
oralce-chunchuan - Server directory:
/root/perplexity - Remote Git remote:
origin - Remote deployment entrypoint:
./deploy/compose.sh
Workflow
Perform the following sequence exactly.
Confirm the local branch is
main, review the intended diff, commit only the requested files, and push the exact commit.git push origin mainRecord the local commit and confirm
origin/mainresolves to the same SHA. Stop if the push or equality check fails.git rev-parse HEAD git ls-remote origin refs/heads/mainRequire a clean remote tracked worktree, fast-forward the server checkout, and verify that the remote commit equals the local commit. Substitute the recorded full SHA for
<commit>.ssh oralce-chunchuan \ "cd /root/perplexity && \ test -z \"\$(git status --porcelain --untracked-files=no)\" && \ git pull --ff-only origin main && \ test \"\$(git rev-parse HEAD)\" = '<commit>'"Build the application image from that checked-out source on the server, replace the running container, wait for health, and verify the service.
ssh oralce-chunchuan \ 'cd /root/perplexity && ./deploy/compose.sh up'Recheck health and status after deployment.
ssh oralce-chunchuan \ 'cd /root/perplexity && \ ./deploy/compose.sh verify && \ ./deploy/compose.sh status && \ docker inspect perplexity-mcp \ --format "image={{.Image}} status={{.State.Status}} health={{.State.Health.Status}}"'
Invariants
- Build the application from the server checkout. Do not pull, publish, or wait for a Docker Hub application image.
- Preserve the server
.env,token_pool_config.json,data/, and Docker volumes. - Stop when the remote tracked worktree is dirty; inspect and preserve changes instead of overwriting them.
- Never force-push, run
git resetorgit clean, rundocker compose down, or delete images or volumes. - Stop on a failed push, commit mismatch, build, health check, or status check.
- Do not add authorship or attribution trailers unless the user explicitly requests them and provides the exact identity.
Report the deployed commit, image ID, /health result, and final container state.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

