mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-17 10:35:11 +00:00
22 lines
444 B
YAML
22 lines
444 B
YAML
|
name: Trigger nightly build & release
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
schedule:
|
||
|
# Run nightly build at 01:00 UTC
|
||
|
- cron: '00 01 * * *'
|
||
|
|
||
|
jobs:
|
||
|
|
||
|
trigger-nightly:
|
||
|
runs-on: ubuntu-latest
|
||
|
name: Push to release-nightly to trigger build
|
||
|
steps:
|
||
|
|
||
|
- uses: actions/checkout@v3
|
||
|
with:
|
||
|
token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
|
||
|
fetch-depth: 0
|
||
|
|
||
|
- run: |
|
||
|
git push origin main:release-nightly
|