-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (32 loc) · 725 Bytes
/
prod.yaml
File metadata and controls
32 lines (32 loc) · 725 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
name: Production
on:
push:
branches:
- main
paths:
- docs/**
- .github/workflows/prod.yaml
- overrides/**
- mkdocs.yml
- Dockerfile
- cloudflare.conf
- deny.conf
- dev-nginx.conf
- prod.toml
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 }}