mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-14 01:53:03 +01:00
15 lines
418 B
YAML
15 lines
418 B
YAML
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
|
|
run: docker build -t maciejpedzi.ch:latest .
|
|
- name: Rerun website's Docker container
|
|
run: chmod +x ./rerun-container.sh && ./rerun-container.sh
|