Move CI on develop

This commit is contained in:
Chocobozzz 2021-12-03 10:24:33 +01:00
parent 63a3d336f6
commit bdb4cc80c3
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 5 additions and 11 deletions

View File

@ -14,9 +14,6 @@ name: "CodeQL"
on:
push:
branches: [ develop, next ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ next ]
schedule:
- cron: '36 9 * * 5'

View File

@ -24,9 +24,9 @@ jobs:
# FIXME: https://github.com/actions/checkout/issues/290
git fetch --force --tags
one="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"develop\", \"tags\": \"chocobozzz/peertube-test:develop-bullseye\" }"
two="{ \"file\": \"./support/docker/production/Dockerfile.buster\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-test:production-buster,chocobozzz/peertube-test:$(git describe --abbrev=0)-buster\" }"
three="{ \"file\": \"./support/docker/production/Dockerfile.nginx\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-webserver-test:latest\" }"
one="{ \"file\": \"./support/docker/production/Dockerfile.bullseye\", \"ref\": \"develop\", \"tags\": \"chocobozzz/peertube:develop-bullseye\" }"
two="{ \"file\": \"./support/docker/production/Dockerfile.buster\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube:production-buster,chocobozzz/peertube:$(git describe --abbrev=0)-buster\" }"
three="{ \"file\": \"./support/docker/production/Dockerfile.nginx\", \"ref\": \"master\", \"tags\": \"chocobozzz/peertube-webserver:latest\" }"
matrix="[$one,$two,$three]"
echo ::set-output name=matrix::{\"include\":$(echo $matrix)}

View File

@ -1,9 +1,6 @@
name: Nightly
on:
push:
branches:
- 'next'
schedule:
- cron: '0 3 * * *'
@ -17,7 +14,7 @@ jobs:
name: Checkout develop
uses: actions/checkout@v2
with:
ref: next
ref: develop
- uses: './.github/actions/reusable-prepare-peertube-build'
with:
@ -29,7 +26,7 @@ jobs:
- uses: './.github/actions/reusable-deploy'
with:
source: ./peertube-nightly-*
destination: nightly-test
destination: nightly
knownHosts: ${{ secrets.STATS_DEPLOYEMENT_KNOWN_HOSTS }}
deployKey: ${{ secrets.STATS_DEPLOYEMENT_KEY }}
deployUser: ${{ secrets.STATS_DEPLOYEMENT_USER }}