Commit 2326d5e1 authored by Markus Mößler's avatar Markus Mößler
Browse files

added deployment of static blog app to gitlab page

parent 8300849f
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+15 −0
Original line number Diff line number Diff line
image: node:20

pages:
  stage: deploy
  script:
    - cd react-frontend/my-react-app
    - npm install
    - npm run build
    - mkdir -p ../../public/blog
    - cp -r build/* ../../public/blog/
  artifacts:
    paths:
      - public
  only:
    - react-tornado-blog-stage-02
+1 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  "name": "app",
  "version": "0.1.0",
  "private": true,
  "homepage": "https://mmoessler.aidaho-pages.uni-hohenheim.de/aidaho-tinkering-club-web-app/blog",
  "dependencies": {
    "bootstrap": "^5.3.3",
    "cra-template": "1.2.0",