PeerTube/.github/workflows/nightly.yml

34 lines
765 B
YAML
Raw Normal View History

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
2024-02-06 00:34:58 -06:00
uses: actions/checkout@v4
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:
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 }}