name: Nightly
on:
- push:
- branches:
- - 'next'
schedule:
- cron: '0 3 * * *'
steps:
-
name: Checkout develop
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
- ref: next
+ ref: develop
- uses: './.github/actions/reusable-prepare-peertube-build'
with:
- uses: './.github/actions/reusable-deploy'
with:
source: ./peertube-nightly-*
- destination: nightly-test
+ destination: nightly
knownHosts: ${{ secrets.STATS_DEPLOYEMENT_KNOWN_HOSTS }}
deployKey: ${{ secrets.STATS_DEPLOYEMENT_KEY }}
deployUser: ${{ secrets.STATS_DEPLOYEMENT_USER }}