--- stages: - build - deploy build: stage: build script: - apt-get install p7zip p7zip-full - cd extension - zip -r ../safelinks-cleaner-thunderbird.xpi * artifacts: paths: - ./safelinks-cleaner-thunderbird.xpi 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