26 lines
381 B
YAML
26 lines
381 B
YAML
|
name: CI
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
pull_request:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
jobs:
|
||
|
deploy:
|
||
|
runs-on: ubuntu-22.04
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
with:
|
||
|
submodules: true
|
||
|
|
||
|
- name: Install Docker
|
||
|
run: curl -fsSL https://get.docker.com | sh
|
||
|
|
||
|
- name: Deploy with Docker
|
||
|
run: docker compose up --build -d
|
||
|
|