]>
Commit | Line | Data |
---|---|---|
51e9e152 C |
1 | name: Nightly |
2 | ||
3 | on: | |
51e9e152 C |
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 | |
388a31d2 | 15 | uses: actions/checkout@v3 |
51e9e152 | 16 | with: |
bdb4cc80 | 17 | ref: develop |
51e9e152 C |
18 | |
19 | - uses: './.github/actions/reusable-prepare-peertube-build' | |
20 | with: | |
823cc35b | 21 | node-version: '14.x' |
51e9e152 C |
22 | |
23 | - name: Build | |
24 | run: npm run nightly | |
25 | ||
26 | - uses: './.github/actions/reusable-deploy' | |
27 | with: | |
28 | source: ./peertube-nightly-* | |
bdb4cc80 | 29 | destination: nightly |
51e9e152 C |
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 }} |