-
Notifications
You must be signed in to change notification settings - Fork 1
33 lines (33 loc) · 856 Bytes
/
nightly-prod.yaml
File metadata and controls
33 lines (33 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Production Nightly Build
on:
schedule:
- cron: 20 4 * * *
workflow_dispatch:
jobs:
site:
runs-on: ubuntu-latest
name: Build Documentation
environment:
name: Production
url: https://documentation.breadnet.co.uk
steps:
- name: Git Clone
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Fly Build and Deploy
uses: userbradley/actions-fly@v1.1.0
with:
flyToken: ${{ secrets.FLY_ACCESS_TOKEN_PROD }}
configFile: ${{ vars.CONFIG_FILE }}
open-issue:
runs-on: ubuntu-latest
name: Open GitHub issue on failure
if: failure()
needs: [site]
steps:
- name: Create issue
uses: peter-evans/create-issue-from-file@v6.0.0
with:
title: Nightly build failed
labels: Broken Nightly Build