mirror of
https://github.com/acid-info/logos-ordinals-dashboard.git
synced 2025-02-28 04:30:33 +00:00
Revert "ci: push compressed build directory"
This reverts commit 23587799de4e40d3317d51c8cf754019b803775d.
This commit is contained in:
parent
be7dc867f9
commit
699a1e2f67
1
.gitignore
vendored
1
.gitignore
vendored
@ -14,7 +14,6 @@
|
||||
|
||||
# production
|
||||
/build
|
||||
/tiny-out
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
|
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -45,7 +45,7 @@ pipeline {
|
||||
ghp-import \
|
||||
-b ${deployBranch()} \
|
||||
-c ${deployDomain()} \
|
||||
-p tiny-out
|
||||
-p out
|
||||
""", pure: false)
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "./scripts/build.sh",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
"prepare": "husky install"
|
||||
|
@ -1,11 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# vim: set ft=sh:
|
||||
|
||||
next build
|
||||
|
||||
# ghp-import in jenkins needs a directory
|
||||
mkdir -p tiny-out
|
||||
tar -czf tiny-out/out.tar.gz out/
|
||||
|
||||
# to execute in caddy-git exec post command
|
||||
cp ./scripts/extract-output-and-clean.sh tiny-out/
|
@ -1,26 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# vim: set ft=sh:
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
REPO_PATH="$(pwd)/repo"
|
||||
TAR_FILE_PATH="${REPO_PATH}/out.tar.gz"
|
||||
|
||||
if [ -f "${TAR_FILE_PATH}" ]; then
|
||||
echo "Found tar file"
|
||||
|
||||
if /usr/bin/tar -xzf "${TAR_FILE_PATH}" -C "${REPO_PATH}" --strip-components=1; then
|
||||
echo "Successfully extracted tar file"
|
||||
|
||||
else
|
||||
echo "Failed to extract tar file"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "successfully cleaned tar file at ${TAR_FILE_PATH}"
|
||||
rm "${TAR_FILE_PATH}"
|
||||
else
|
||||
echo "Tar file not found"
|
||||
exit 1
|
||||
fi
|
Loading…
x
Reference in New Issue
Block a user