Skip to content
Snippets Groups Projects
.gitlab-ci.yml 443 B
Newer Older
  • Learn to ignore specific revisions
  • Jake's avatar
    Jake committed
    image: docker.gitlab.gwdg.de/fissg/fissg:main
    stages:
      - build
      - deploy
    
    
    site:
      stage: build
      before_script:
        - git clone https://gitlab.gwdg.de/GAUMI-fginfo/fg-website-data.git content
    
    Jake's avatar
    Jake committed
      script:
    
    Jake's avatar
    Jake committed
        - /opt/fissg.py
      artifacts:
        paths:
          - "./public/"
      only:
    
    Jake's avatar
    Jake committed
        - master
    
    Jake's avatar
    Jake committed
    
    pages:
      stage: deploy
      needs: [ "site" ]
      script:
        - echo "Deploying ./public/"
      artifacts:
        paths:
          - "./public/"
      only:
    
    Jake's avatar
    Jake committed
        - master
    
    Jake's avatar
    Jake committed