check if site builds in action, deploy when pushed to master
Build / Check if website builds (pull_request) Successful in 59s Details

pull/2/head
Tudor Roman 2024-02-03 13:03:52 +01:00
parent da316a5c74
commit ec64d39196
Signed by: tudor
SSH Key Fingerprint: SHA256:3CwS9plgXBecpXImPGxDIaSktUXBejbV/zerZMqzzBk
2 changed files with 18 additions and 3 deletions

View File

@ -0,0 +1,13 @@
name: Build
on:
pull_request:
push:
branches: [master]
jobs:
build:
name: Check if website builds
runs-on: nix
steps:
- uses: actions/checkout@v3
- run: nix run

View File

@ -1,11 +1,13 @@
name: Fly Deploy
name: Deploy
on:
push:
workflow_run:
workflows: [Build]
types: [completed]
branches: [master]
jobs:
deploy:
name: Deploy website
name: Deploy to Fly.io
runs-on: nix
concurrency: deploy-group
steps: