Compare commits
13 Commits
Author | SHA1 | Date |
---|---|---|
creme | 7c05c26864 | |
creme | d29380b086 | |
creme | 0b2dc39bea | |
creme | e1cca8b092 | |
creme | d246cf3bf2 | |
creme | 80020ff98c | |
creme | 1d901c48aa | |
creme | 00972d0334 | |
creme | 143fc5d673 | |
creme | acdc7f4b4f | |
creme | f83e09b9b6 | |
creme | 2777e6332a | |
creme | befdf99ffc |
25
.drone.yml
25
.drone.yml
|
@ -1,9 +1,26 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: shellcheck
|
||||
type: ssh
|
||||
name: deploy
|
||||
|
||||
server:
|
||||
host:
|
||||
from_secret: host
|
||||
user:
|
||||
from_secret: username
|
||||
ssh_key:
|
||||
from_secret: ssh_key
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
|
||||
steps:
|
||||
- name: shellcheck
|
||||
image: koalaman/shellcheck-alpine:stable
|
||||
- name: deploy
|
||||
commands:
|
||||
- shellcheck pb
|
||||
- cd /opt/services/pb
|
||||
- sudo -Hu services git pull origin master
|
||||
- sudo -Hu root make install
|
||||
|
|
4
pb
4
pb
|
@ -2,7 +2,7 @@
|
|||
|
||||
# init variables
|
||||
version="v2022.11.03"
|
||||
ENDPOINT="https://ttm.sh"
|
||||
ENDPOINT="https://envs.sh"
|
||||
flag_options=":hvcfe:s:"
|
||||
long_flag_options="help,version,color,file,extension:,server:"
|
||||
flag_version=0
|
||||
|
@ -20,7 +20,7 @@ pb [options] filename
|
|||
or
|
||||
(command-with-stdout) | pb
|
||||
|
||||
Uploads a file or data to the tilde 0x0 paste bin
|
||||
Uploads a file or data to the envs.sh 0x0 paste bin
|
||||
|
||||
OPTIONAL FLAGS:
|
||||
-h | --help) Show this help
|
||||
|
|
5
pb.1
5
pb.1
|
@ -19,6 +19,9 @@ Data input can be provided as an argument or via stdin.
|
|||
The data will be processed as binary or text
|
||||
based on the context.
|
||||
|
||||
Default Server:
|
||||
.B https://envs.sh
|
||||
|
||||
The options are as follows:
|
||||
|
||||
.TP
|
||||
|
@ -38,7 +41,7 @@ Pretty color output.
|
|||
.TP
|
||||
.B -v
|
||||
Display current version information.
|
||||
.TP
|
||||
.TP
|
||||
.B -h
|
||||
Show the help.
|
||||
|
||||
|
|
Loading…
Reference in New Issue