diff options
Diffstat (limited to '.github/workflows/nightly.yml')
-rw-r--r-- | .github/workflows/nightly.yml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 156b7143a..23898b7ef 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml | |||
@@ -1,9 +1,6 @@ | |||
1 | name: Nightly | 1 | name: Nightly |
2 | 2 | ||
3 | on: | 3 | on: |
4 | push: | ||
5 | branches: | ||
6 | - 'next' | ||
7 | schedule: | 4 | schedule: |
8 | - cron: '0 3 * * *' | 5 | - cron: '0 3 * * *' |
9 | 6 | ||
@@ -17,7 +14,7 @@ jobs: | |||
17 | name: Checkout develop | 14 | name: Checkout develop |
18 | uses: actions/checkout@v2 | 15 | uses: actions/checkout@v2 |
19 | with: | 16 | with: |
20 | ref: next | 17 | ref: develop |
21 | 18 | ||
22 | - uses: './.github/actions/reusable-prepare-peertube-build' | 19 | - uses: './.github/actions/reusable-prepare-peertube-build' |
23 | with: | 20 | with: |
@@ -29,7 +26,7 @@ jobs: | |||
29 | - uses: './.github/actions/reusable-deploy' | 26 | - uses: './.github/actions/reusable-deploy' |
30 | with: | 27 | with: |
31 | source: ./peertube-nightly-* | 28 | source: ./peertube-nightly-* |
32 | destination: nightly-test | 29 | destination: nightly |
33 | knownHosts: ${{ secrets.STATS_DEPLOYEMENT_KNOWN_HOSTS }} | 30 | knownHosts: ${{ secrets.STATS_DEPLOYEMENT_KNOWN_HOSTS }} |
34 | deployKey: ${{ secrets.STATS_DEPLOYEMENT_KEY }} | 31 | deployKey: ${{ secrets.STATS_DEPLOYEMENT_KEY }} |
35 | deployUser: ${{ secrets.STATS_DEPLOYEMENT_USER }} | 32 | deployUser: ${{ secrets.STATS_DEPLOYEMENT_USER }} |