Compare commits

..

7 Commits
2.6.1 ... 2.7.0

Author SHA1 Message Date
diced
d3676c2662 2.7.0 2021-01-29 22:13:58 -08:00
diced
cb93df347c fix(webhook): user 2021-01-29 22:13:43 -08:00
dicedtomato
c31a2172eb Merge pull request #56 from diced/dependabot/npm_and_yarn/ini-1.3.8
Bump ini from 1.3.5 to 1.3.8
2020-12-21 13:33:37 -08:00
dicedtomato
e3d0f5e47d Update docker.yml 2020-12-21 13:27:56 -08:00
dicedtomato
975fc00fad Update docker.yml 2020-12-21 13:23:50 -08:00
dicedtomato
03475bd7d7 Create docker.yml 2020-12-21 13:23:03 -08:00
dependabot[bot]
59ce5e5cce Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-15 21:42:13 +00:00
5 changed files with 28 additions and 5 deletions

22
.github/workflows/docker.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Publish Zipline Docker Image
on:
push:
branches: [next]
pull_request:
branches: [next]
jobs:
push_to_registry:
name: Push Docker Image to Github Packages
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to GitHub Packages
uses: docker/build-push-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: diced/zipline/zipline
dockerfile: Dockerfile
tag_with_ref: true

View File

@@ -1,6 +1,6 @@
{
"name": "zipline-next",
"version": "2.6.1",
"version": "2.7.0",
"private": true,
"dependencies": {
"@dicedtomato/colors": "^1.0.3",

View File

@@ -59,7 +59,7 @@ export class Webhooks {
public static parseContent(content: string, data: WebhookData) {
return content
.replace(WebhookParseTokens.IMAGE_ID, data.image?.id)
.replace(WebhookParseTokens.IMAGE_URL, `${data.host}${data.image?.file}`)
.replace(WebhookParseTokens.IMAGE_URL, data.host)
.replace(WebhookParseTokens.URL_ID, data.url?.id)
.replace(WebhookParseTokens.URL_URL, data.host + data.url?.id)
.replace(WebhookParseTokens.URL_VANITY, data.url?.vanity)

View File

@@ -152,6 +152,7 @@ export class RootController {
if (this.webhooks.events.includes(WebhookType.UPLOAD)) Webhooks.sendWebhook(this.webhooks.upload.content, {
image,
user,
host
});

View File

@@ -4562,9 +4562,9 @@ inherits@2.0.3:
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
ini@^1.3.4, ini@~1.3.0:
version "1.3.5"
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
version "1.3.8"
resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c"
integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==
inquirer@5.2.0:
version "5.2.0"