mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-10 00:13:02 +01:00
16 lines
435 B
YAML
16 lines
435 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 .
|
|
- run: pwd
|
|
- name: Rerun website's Docker container
|
|
run: chmod +x ./rerun-container.sh && ./rerun-container.sh
|