1
0
Fork 0
peertube/.github/workflows/nightly.yml

37 lines
804 B
YAML
Raw Normal View History

2021-12-01 13:14:58 +00:00
name: Nightly
on:
push:
branches:
- 'next'
schedule:
- cron: '0 3 * * *'
jobs:
nightly:
runs-on: ubuntu-latest
steps:
-
name: Checkout develop
uses: actions/checkout@v2
with:
ref: next
- uses: './.github/actions/reusable-prepare-peertube-build'
with:
node-version: '14.x'
- name: Build
run: npm run nightly
- uses: './.github/actions/reusable-deploy'
with:
source: ./peertube-nightly-*
destination: nightly-test
knownHosts: ${{ secrets.STATS_DEPLOYEMENT_KNOWN_HOSTS }}
deployKey: ${{ secrets.STATS_DEPLOYEMENT_KEY }}
deployUser: ${{ secrets.STATS_DEPLOYEMENT_USER }}
deployHost: ${{ secrets.STATS_DEPLOYEMENT_HOST }}