From 8e2f9d6bf12d754d670eb2aae305e576201530e4 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Fri, 4 Mar 2022 03:08:52 +0000 Subject: [PATCH] deploy to pagessrht --- .gitlab-ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 930aa61..2a99cad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,9 +12,7 @@ pages: - cd element-web-$VER - yarn install --frozen-lockfile - yarn build - - cp -r webapp/* ../public/ - - cp ../config.json ../public/ - - cp ../Information_Block.ogg ../public/media/message.ogg - artifacts: - paths: - - public/ + - cp ../config.json webapp/ + - cp ../Information_Block.ogg webapp/media/message.ogg + - tar -C webapp -cvz . > https.tar.gz + - curl --oauth2-bearer "$SRHT_PAT" -Fcontent=@https.tar.gz -Fprotocol=HTTPS https://pages.xdavidwu.link/publish/element.xdavidwu.link -- 2.43.0