Skip to content
Snippets Groups Projects
.gitlab-ci.yml 494 B
Newer Older
  • Learn to ignore specific revisions
  • David Byers's avatar
    David Byers committed
    ---
    stages:
      - build
      - deploy
    
    build:
      stage: build
      script:
    
    David Byers's avatar
    David Byers committed
        - apt-get install p7zip p7zip-full
    
    David Byers's avatar
    David Byers committed
        - cd extension
        - zip -r ../safelinks-cleaner-thunderbird.xpi *
      artifacts:
    
    David Byers's avatar
    David Byers committed
        paths:
          - ./safelinks-cleaner-thunderbird.xpi
    
    David Byers's avatar
    David Byers committed
    
    pages:
      stage: deploy
      script:
        - mkdir .public
        - cp -r site .public
        - cp safelinks-cleaner-thunderbird.xpi .public
        - mv .public public
        - ls -lr public
      artifacts:
        paths:
          - public/
      only:
        - master
      when: always