fizika/.forgejo/workflows/deploy.yml
Andras Schmelczer 90f5454edf
Some checks failed
Deploy to Pages / deploy (pull_request) Successful in 4s
Build and Publish Docker Image / build-and-push (pull_request) Failing after 15s
Use shared ci-actions for docker publish and pages deploy
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 14:45:54 +01:00

31 lines
652 B
YAML

name: Deploy to Pages
on:
push:
branches: ['main']
pull_request:
branches: ['main']
workflow_dispatch:
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
deploy:
runs-on: docker
steps:
- uses: actions/checkout@v4
- name: Validate static frontend
run: |
test -f frontend/index.html
test -f frontend/fizika.json
- name: Copy frontend to host pages mount
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: http://forgejo:3000/andras/ci-actions/deploy-pages@main
with:
source: frontend
target: fizika