Skip to content

Commit f4dca19

Browse files
Update build.yml
1 parent 7b2f98f commit f4dca19

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ env:
1212
HASH_VALUE: "/tmp/medium.rip.sha256"
1313
PNPM_BIN: "/github/home/.local/share/pnpm/pnpm"
1414
#PNPM_BIN="/home/runner/.local/share/pnpm/pnpm"
15+
FORKREPO: "https://github.com/mycodedoesnotcompile2/medium.rip.git"
16+
ROOT_DIR: "/tmp/medium.rip/"
1517

1618
jobs:
1719
build_pkg:
@@ -43,15 +45,16 @@ jobs:
4345
RELEASE_DATE="$(date '+%Y%m%d')"
4446
echo "RELEASE_DATE=$RELEASE_DATE" >> $GITHUB_ENV
4547
46-
git clone "https://github.com/mycodedoesnotcompile2/medium.rip.git"
48+
git clone "$FORKREPO" medium.rip
49+
50+
cd "$ROOT_DIR/frontend/"
51+
#mv postcss.config.ts postcss.config.cjs
4752
48-
cd "/tmp/medium.rip/frontend/"
49-
mv postcss.config.ts postcss.config.cjs
5053
$PNPM_BIN i
5154
$PNPM_BIN approve-builds
5255
$PNPM_BIN run build
5356
54-
cd "/tmp/medium.rip/"
57+
cd "$ROOT_DIR"
5558
go mod download
5659
go build -ldflags='-w -s -extldflags "-static"' .
5760

0 commit comments

Comments
 (0)