mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 03:32:06 +00:00
Add manual CD dispatch and deployment docs (#128)
This commit is contained in:
@@ -4,6 +4,7 @@ on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -98,7 +99,7 @@ jobs:
|
||||
deploy:
|
||||
name: Deploy
|
||||
needs: build-release
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
|
||||
runs-on: ubuntu-24.04
|
||||
environment: production
|
||||
concurrency:
|
||||
|
||||
Reference in New Issue
Block a user