Skip to content
Snippets Groups Projects
Commit 3cd533c6 authored by David Byers's avatar David Byers
Browse files

More CI/CD.

parent a8cb1027
No related branches found
No related tags found
1 merge request!8Beta
Pipeline #33299 failed
......@@ -4,6 +4,7 @@ stages:
- prepare
- build
- deploy
- pages
version:
image: python:3.7-stretch
......@@ -54,10 +55,11 @@ deploy:firefox:beta:
CHANNEL: unlisted
rules:
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "beta"'
- changes:
changes:
- shared/**
- firefox/**
- when: always
when: always
- when: never
......@@ -67,10 +69,11 @@ deploy:firefox:master:
CHANNEL: listed
rules:
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "master"'
- changes:
changes:
- shared/**
- firefox/**
- when: always
when: always
- when: never
deploy:thunderbird:
......@@ -86,14 +89,14 @@ deploy:thunderbird:
- safelinks-cleaner-thunderbird.xpi
rules:
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "beta"'
- changes:
changes:
- shared/**
- thunderbird/**
- when: always
when: always
- when: never
pages:
stage: deploy
stage: pages
script:
- cp -r site .public
- sed -i -e "s/%BUILDDATE%/$(date +'%Y-%m-%d %H:%M')/g" .public/index.html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment