parent
8df579e1f5
commit
2bd45309a2
4 changed files with 8 additions and 4 deletions
3
.github/workflows/deploy.yaml
vendored
3
.github/workflows/deploy.yaml
vendored
|
@ -7,7 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
@ -21,7 +21,6 @@ jobs:
|
||||||
sudo apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev
|
sudo apt install pkg-config libmagickwand-dev imagemagick gcc libc-dev
|
||||||
mkdir {previews,dist}
|
mkdir {previews,dist}
|
||||||
go run main.go
|
go run main.go
|
||||||
ls -laR
|
|
||||||
mv index.html dist/
|
mv index.html dist/
|
||||||
mv previews/ dist/
|
mv previews/ dist/
|
||||||
mv talks/ dist/
|
mv talks/ dist/
|
||||||
|
|
5
go.mod
5
go.mod
|
@ -2,4 +2,7 @@ module git.rainbownerds.de/felix/slides.fleaz.me
|
||||||
|
|
||||||
go 1.21
|
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
|
||||||
|
)
|
||||||
|
|
2
go.sum
2
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 h1:Ho8/2Uu76Y1Z5P65dUBhh5ZeKS3ZcvYH12amWZNpSFA=
|
||||||
gopkg.in/gographics/imagick.v3 v3.5.3/go.mod h1:+Q9nyA2xRZXrDyTtJ/eko+8V/5E7bWYs08ndkZp8UmA=
|
gopkg.in/gographics/imagick.v3 v3.5.3/go.mod h1:+Q9nyA2xRZXrDyTtJ/eko+8V/5E7bWYs08ndkZp8UmA=
|
||||||
|
|
2
main.go
2
main.go
|
@ -7,7 +7,7 @@ import (
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
|
||||||
"gopkg.in/gographics/imagick.v3/imagick"
|
"gopkg.in/gographics/imagick.v2/imagick"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Talk struct {
|
type Talk struct {
|
||||||
|
|
Loading…
Add table
Reference in a new issue