2021-12-01 07:14:58 -06:00
|
|
|
name: Nightly
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 3 * * *'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
nightly:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout develop
|
2022-06-27 08:28:32 -05:00
|
|
|
uses: actions/checkout@v3
|
2021-12-01 07:14:58 -06:00
|
|
|
with:
|
2021-12-03 03:24:33 -06:00
|
|
|
ref: develop
|
2021-12-01 07:14:58 -06:00
|
|
|
|
|
|
|
- uses: './.github/actions/reusable-prepare-peertube-build'
|
|
|
|
with:
|
2023-10-11 06:59:24 -05:00
|
|
|
node-version: '18.x'
|
2021-12-01 07:14:58 -06:00
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: npm run nightly
|
|
|
|
|
|
|
|
- uses: './.github/actions/reusable-deploy'
|
|
|
|
with:
|
|
|
|
source: ./peertube-nightly-*
|
2021-12-03 03:24:33 -06:00
|
|
|
destination: nightly
|
2021-12-01 07:14:58 -06:00
|
|
|
knownHosts: ${{ secrets.STATS_DEPLOYEMENT_KNOWN_HOSTS }}
|
|
|
|
deployKey: ${{ secrets.STATS_DEPLOYEMENT_KEY }}
|
|
|
|
deployUser: ${{ secrets.STATS_DEPLOYEMENT_USER }}
|
|
|
|
deployHost: ${{ secrets.STATS_DEPLOYEMENT_HOST }}
|