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

34 lines
765 B
YAML
Raw Normal View History

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