]>
Commit | Line | Data |
---|---|---|
1 | name: Nightly | |
2 | ||
3 | on: | |
4 | schedule: | |
5 | - cron: '0 3 * * *' | |
6 | ||
7 | jobs: | |
8 | ||
9 | nightly: | |
10 | runs-on: ubuntu-latest | |
11 | ||
12 | steps: | |
13 | - | |
14 | name: Checkout develop | |
15 | uses: actions/checkout@v2 | |
16 | with: | |
17 | ref: develop | |
18 | ||
19 | - uses: './.github/actions/reusable-prepare-peertube-build' | |
20 | with: | |
21 | node-version: '14.x' | |
22 | ||
23 | - name: Build | |
24 | run: npm run nightly | |
25 | ||
26 | - uses: './.github/actions/reusable-deploy' | |
27 | with: | |
28 | source: ./peertube-nightly-* | |
29 | destination: nightly | |
30 | knownHosts: ${{ secrets.STATS_DEPLOYEMENT_KNOWN_HOSTS }} | |
31 | deployKey: ${{ secrets.STATS_DEPLOYEMENT_KEY }} | |
32 | deployUser: ${{ secrets.STATS_DEPLOYEMENT_USER }} | |
33 | deployHost: ${{ secrets.STATS_DEPLOYEMENT_HOST }} |