diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index ac2cd164a4..deebca777f 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -22,8 +22,7 @@ jobs: sudo apt-get install -y curl jq unzip zip curl -sSL https://api.github.com/repos/TheTNB/panel-frontend/releases/latest | jq -r ".assets[] | select(.name | contains(\"dist\")) | .browser_download_url" | xargs curl -L -o frontend.zip unzip frontend.zip - rm -rf embed/frontend - mv dist embed/frontend + mv dist/* embed/frontend/ - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 74761ef7fe..938a94c197 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -63,8 +63,7 @@ fetch: script: - curl -sSL "https://git.haozi.net/api/v4/projects/opensource%2Fpanel-frontend/releases" | jq -r '.[0].assets.links[] | select(.name | contains("dist")) | .direct_asset_url' | xargs curl -L -o frontend.zip - unzip frontend.zip - - rm -rf embed/frontend - - mv dist embed/frontend + - mv dist/* embed/frontend/ artifacts: name: "frontend" paths: