maciejpedzi.ch/.gitea/workflows/build-and-deploy.yaml

15 lines
418 B
YAML
Raw Normal View History

name: Build and deploy
on: [push]
jobs:
Build-And-Deploy:
runs-on: ubuntu-latest
container: catthehacker/ubuntu:act-22.04
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build Docker image
2024-04-06 12:05:33 +02:00
run: docker build -t maciejpedzi.ch:latest .
- name: Rerun website's Docker container
run: chmod +x ./rerun-container.sh && ./rerun-container.sh