PeerTube/.github/workflows/nightly.yml

34 lines
765 B
YAML
Raw Normal View History

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