Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
github-autopull
Advanced tools
Github 의 Webhook 기능을 이용하여 명령어를 실행합니다.
{
"app1": {
"url": "/app1",
"secret": "secret",
"branch": {
"master": "commands",
"beta": "commands"
},
"default": "commands"
}
}
app1: App 이름을 입력해주시면 됩니다.
url: 어느 URL 로 요청이 왔을 때에 커맨드를 작동시킬 지 설정합니다. 작동시킬 url을 입력합니다.
secret: secret key 입니다. 입력하신 Secret Key와 같은 Secret Key 로 요청이 와야 커맨드가 작동됩니다.
branch: branch 목록입니다. 만약 master branch에 push한 경우, master 변수의 커맨드를 실행합니다.
default: 만약 branch 객체에 없는 branch에 push한 경우 default 변수의 커맨드를 실행합니다.
commands: 작동시킬 커맨드입니다. 커맨드를 여러개 실행시켜야 할 경우 && 를 사용하시면 됩니다.
{
"app1": {
"url": "/app1",
"secret": "mysecret!",
"default": "cd /www/ && git pull"
},
"app2": {
"url": "/app2",
"secret": "MySecret2",
"branch": {
"master": "cd /app2/ && git pull && pm2 stop app2 && pm2 start app2",
"beta": "cd /app2-beta/ && git pull && pm2 stop app2-beta && pm2 start app2-beta"
}
}
}
{
"http_port": 80
}
http_port: HTTP 서버가 돌아갈 포트를 지정합니다.
{
"http_port": 8081
}
MIT
FAQs
Github에서 자동으로 Pull 해옵니다.
The npm package github-autopull receives a total of 7 weekly downloads. As such, github-autopull popularity was classified as not popular.
We found that github-autopull demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.