diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index b3d9919..919d990 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-24.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -21,7 +21,6 @@ jobs: sudo apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev mkdir {previews,dist} go run main.go - ls -laR mv index.html dist/ mv previews/ dist/ mv talks/ dist/ diff --git a/go.mod b/go.mod index 79adb71..efa074d 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,7 @@ module git.rainbownerds.de/felix/slides.fleaz.me go 1.21 -require gopkg.in/gographics/imagick.v3 v3.5.3 +require ( + gopkg.in/gographics/imagick.v2 v2.6.4 + gopkg.in/gographics/imagick.v3 v3.5.3 +) diff --git a/go.sum b/go.sum index 718721a..ddc8f86 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,4 @@ +gopkg.in/gographics/imagick.v2 v2.6.4 h1:H7UgF2ZAdV85sMB9YU2c6r3dpp9SP4N6UF+bG3OK728= +gopkg.in/gographics/imagick.v2 v2.6.4/go.mod h1:/QVPLV/iKdNttRKthmDkeeGg+vdHurVEPc8zkU0XgBk= gopkg.in/gographics/imagick.v3 v3.5.3 h1:Ho8/2Uu76Y1Z5P65dUBhh5ZeKS3ZcvYH12amWZNpSFA= gopkg.in/gographics/imagick.v3 v3.5.3/go.mod h1:+Q9nyA2xRZXrDyTtJ/eko+8V/5E7bWYs08ndkZp8UmA= diff --git a/main.go b/main.go index edad8f7..93481ce 100644 --- a/main.go +++ b/main.go @@ -7,7 +7,7 @@ import ( "path/filepath" "regexp" - "gopkg.in/gographics/imagick.v3/imagick" + "gopkg.in/gographics/imagick.v2/imagick" ) type Talk struct {