Reviewed-on: #2
This commit is contained in:
parent
f71c352d7d
commit
c8726c8001
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: linux-amd64
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: publish
|
||||
image: node:16-bullseye
|
||||
environment:
|
||||
GITEA_USERNAME:
|
||||
from_secret: gitea_username
|
||||
GITEA_PASSWORD:
|
||||
from_secret: gitea_password
|
||||
commands:
|
||||
- apt update && apt install -y zip curl
|
||||
- yarn && yarn build
|
||||
- cd dist && zip -r extension.zip * && mv extension.zip ../ && cd ..
|
||||
- "curl --user $GITEA_USERNAME:$GITEA_PASSWORD --upload-file extension.zip https://gitea.dwysokinski.me/api/packages/twhelp/generic/sessions-ext/${DRONE_TAG##v}/extension.zip"
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
---
|
||||
kind: signature
|
||||
hmac: 798279fd9edd0517b4f1554526b1a17019e23bc639382230d6afdb449495db03
|
||||
|
||||
...
|
|
@ -12,5 +12,5 @@ export type LoginMessage = {
|
|||
export type Message = LoginMessage;
|
||||
|
||||
export type ErrorResponse = {
|
||||
error?: string;
|
||||
error: string;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue