sitoctt/.github/workflows/main.yml

28 lines
499 B
YAML
Raw Normal View History

2024-08-28 18:27:30 +02:00
name: Build and Deploy
2022-08-29 15:41:44 +02:00
on:
push:
2024-08-28 18:27:30 +02:00
branches: [ "sitoctt-next" ]
2022-08-29 15:41:44 +02:00
pull_request:
2024-08-28 18:27:30 +02:00
branches: [ "sitoctt-next" ]
2022-08-29 15:41:44 +02:00
workflow_dispatch:
jobs:
page_build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: |
export sitocttEnv=GitHub
2024-08-27 14:30:28 +02:00
sh ./Scripts/Requirements.sh
sh ./Scripts/Produce.sh
2022-08-29 15:41:44 +02:00
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
2024-08-27 14:30:28 +02:00
folder: build/public