PeerTube/.github/workflows/nightly.yml

36 lines
782 B
YAML
Raw Normal View History

2021-12-01 14:14:58 +01:00
name: Nightly
permissions: {}
2021-12-01 14:14:58 +01:00
on:
schedule:
- cron: '0 3 * * *'
jobs:
nightly:
runs-on: ubuntu-latest
steps:
-
name: Checkout develop
2024-02-06 07:34:58 +01:00
uses: actions/checkout@v4
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: '18.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 }}