Set up CI
This commit is contained in:
parent
5dcf27bb9f
commit
52eb07a993
12 changed files with 223 additions and 8218 deletions
|
|
@ -2,13 +2,13 @@ name: Deploy to Pages
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: ['main']
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ['main']
|
||||
branches: ["main"]
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: 'pages'
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
|
|
@ -18,11 +18,6 @@ jobs:
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue