Update config and add CI

Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
2023-12-10 10:34:39 +01:00
parent 8b7c2d9f89
commit e8f1a9fd35
8 changed files with 138 additions and 4 deletions

32
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: infrastructure
on:
push:
branches:
- "main"
- "master"
- "dev"
paths-ignore:
- "**/README.md"
pull_request:
branches:
- "*"
schedule:
- cron: "0 9 * * 2" # every tuesday at 9:00 https://crontab.guru/#0_7_*_*_1
workflow_dispatch:
jobs:
image:
name: infrastructure
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: "Checkout Code"
uses: actions/checkout@v3
with:
submodules: "recursive"
fetch-depth: 0
- name: "Update server"
run: make update
- name: "Build server"
run: make build