Skip to content

Commit 53e3ecb

Browse files
committed
fix: remove scroll source code
1 parent 4b608a1 commit 53e3ecb

14 files changed

Lines changed: 14 additions & 794 deletions

File tree

.github/workflows/release.yml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,39 @@
11
name: Release Changed Pipeline
2+
permissions:
3+
contents: read
24
on:
35
push:
46
branches:
57
- master
68
tags:
79
- v*
810
jobs:
9-
build-deploy:
11+
build-deploy:
1012
runs-on: self-hosted
1113
env:
12-
SCROLL_REGISTRY_ENDPOINT: ${{ secrets.SCROLL_REGISTRY_ENDPOINT }}
13-
SCROLL_REGISTRY_API_KEY: ${{ secrets.SCROLL_REGISTRY_API_KEY }}
14-
SCROLL_REGISTRY_API_SECRET: ${{ secrets.SCROLL_REGISTRY_API_SECRET }}
15-
SCROLL_REGISTRY_BUCKET: ${{ secrets.SCROLL_REGISTRY_BUCKET_STAGING }}
14+
SCROLL_REGISTRY_ENDPOINT: ${{ secrets.SCROLL_REGISTRY_ENDPOINT }}
15+
SCROLL_REGISTRY_API_KEY: ${{ secrets.SCROLL_REGISTRY_API_KEY }}
16+
SCROLL_REGISTRY_API_SECRET: ${{ secrets.SCROLL_REGISTRY_API_SECRET }}
17+
SCROLL_REGISTRY_BUCKET: ${{ secrets.SCROLL_REGISTRY_BUCKET_STAGING }}
1618
steps:
1719
- uses: actions/checkout@v3
1820
- uses: actions/setup-go@v3
1921
with:
20-
go-version: '>=1.19.3'
22+
go-version: ">=1.19.3"
2123
cache: true
2224
cache-dependency-path: scrolls-registry
2325
- name: Build Scroll Registry Tool
2426
shell: bash
2527
run: |
26-
go install ./scrolls-registry/scroll-registry.go
27-
echo "$GOBIN" >> $GITHUB_PATH
28+
wget -O- --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' https://github.com/highcard-dev/backend-monorepo-go/releases/download/latest/scrolls-registry
2829
- name: Building only version updates
29-
run:
30-
scroll-registry build -d ./scrolls -c
30+
run: ./scroll-registry build -d ./scrolls -c
3131
- name: Pushing new scrolls
3232
shell: bash
3333
run: |
34-
scroll-registry push -d ./scrolls -t packages
35-
scroll-registry push -d ./scrolls -t registry-index
34+
./scroll-registry push -d ./scrolls -t packages
35+
./scroll-registry push -d ./scrolls -t registry-index
3636
- name: Pushing new scrolls i18n
37-
run:
38-
scroll-registry push -d ./scrolls -t translations
37+
run: ./scroll-registry push -d ./scrolls -t translations
3938
- name: Cleanup
40-
run:
41-
scroll-registry clean
39+
run: ./scroll-registry clean

scrolls-registry/cmd/build.go

Lines changed: 0 additions & 120 deletions
This file was deleted.

scrolls-registry/cmd/clean.go

Lines changed: 0 additions & 25 deletions
This file was deleted.

scrolls-registry/cmd/print.go

Lines changed: 0 additions & 28 deletions
This file was deleted.

scrolls-registry/cmd/push.go

Lines changed: 0 additions & 145 deletions
This file was deleted.

0 commit comments

Comments
 (0)