aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/nightly.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/nightly.yml')
-rw-r--r--.github/workflows/nightly.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
new file mode 100644
index 000000000..156b7143a
--- /dev/null
+++ b/.github/workflows/nightly.yml
@@ -0,0 +1,36 @@
1name: Nightly
2
3on:
4 push:
5 branches:
6 - 'next'
7 schedule:
8 - cron: '0 3 * * *'
9
10jobs:
11
12 nightly:
13 runs-on: ubuntu-latest
14
15 steps:
16 -
17 name: Checkout develop
18 uses: actions/checkout@v2
19 with:
20 ref: next
21
22 - uses: './.github/actions/reusable-prepare-peertube-build'
23 with:
24 node-version: '14.x'
25
26 - name: Build
27 run: npm run nightly
28
29 - uses: './.github/actions/reusable-deploy'
30 with:
31 source: ./peertube-nightly-*
32 destination: nightly-test
33 knownHosts: ${{ secrets.STATS_DEPLOYEMENT_KNOWN_HOSTS }}
34 deployKey: ${{ secrets.STATS_DEPLOYEMENT_KEY }}
35 deployUser: ${{ secrets.STATS_DEPLOYEMENT_USER }}
36 deployHost: ${{ secrets.STATS_DEPLOYEMENT_HOST }}