~xdavidwu/element.xdavidwu.link

2f9ce7fcb1842f70932c84c03127daaf68b0d216 — xdavidwu 2 years ago 26857d6
correct path
1 files changed, 4 insertions(+), 4 deletions(-)

M .gitlab-ci.yml
M .gitlab-ci.yml => .gitlab-ci.yml +4 -4
@@ 2,14 2,14 @@ pages:
  stage: deploy
  image: alpine:latest
  variables:
    REF: v1.10.1
    VER: 1.10.1
  before_script:
    - apk add nodejs yarn git npm python3 pixman-dev cairo-dev pango-dev make g++ libjpeg-turbo-dev
    - wget https://github.com/vector-im/element-web/archive/refs/tags/$REF.tar.gz
    - tar -xf $REF.tar.gz
    - wget https://github.com/vector-im/element-web/archive/refs/tags/v$VER.tar.gz
    - tar -xf v$VER.tar.gz
    - mkdir public
  script:
    - cd element-web-$REF
    - cd element-web-$VER
    - yarn install --frozen-lockfile
    - yarn build
    - cp -r webapp/* ../public/