Refactored complex custom meta jank to use Angular SSR instead
This commit is contained in:
1 parent
d291409097
commit
febbc63f35
21 files changed
+1680
-657
No files matched your search
@@ -47,7 +47,7 @@ jobs:
|
||||
set -eux
|
||||
npm run build
|
||||
test -d dist/itzmineydev/browser
|
||||
test -d dist/itzmineydev/meta
|
||||
test -d dist/itzmineydev/server
|
||||
deploy:
|
||||
needs: test-and-build
|
||||
runs-on: self-hosted
|
||||
@@ -86,9 +86,11 @@ jobs:
|
||||
|
||||
rsync -az -e "ssh $SSH_ARGS" ./dist/itzmineydev/ itzmineydev@localhost:"$TARGET_DIR/"
|
||||
|
||||
ssh $SSH_ARGS itzmineydev@localhost "test -d $TARGET_DIR/browser && test -d $TARGET_DIR/meta"
|
||||
ssh $SSH_ARGS itzmineydev@localhost "test -d $TARGET_DIR/browser && test -d $TARGET_DIR/server"
|
||||
ssh $SSH_ARGS itzmineydev@localhost "ln -sfn $TARGET_DIR $CURRENT_LINK"
|
||||
|
||||
ssh $SSH_ARGS itzmineydev@localhost "sudo systemctl restart itzmineydev-ssr"
|
||||
|
||||
echo "Successfully published frontend release $RELEASE_ID"
|
||||
|
||||
- name: Cleanup old releases
|
||||
|
||||
Reference in new issue
Block a user