mirror of
https://github.com/tarampampam/error-pages.git
synced 2024-08-30 18:22:40 +00:00
wip: 🔕 temporary commit
This commit is contained in:
parent
8b29a95bb1
commit
1563a8c226
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@ -58,11 +58,11 @@ jobs:
|
||||
CGO_ENABLED: 0
|
||||
LDFLAGS: -s -w -X gh.tarampamp.am/error-pages/internal/appmeta.version=${{ steps.slug.outputs.commit-hash-short }}
|
||||
run: go build -trimpath -ldflags "$LDFLAGS" -o ./error-pages ./cmd/error-pages/
|
||||
- if: matrix.os == runner.os && matrix.arch == runner.arch
|
||||
- if: ${{ matrix.os == runner.os && matrix.arch == runner.arch }}
|
||||
run: ./error-pages --version && ./error-pages -h
|
||||
- if: matrix.os == runner.os && matrix.arch == runner.arch
|
||||
- if: ${{ matrix.os == runner.os && matrix.arch == runner.arch }}
|
||||
run: mkdir ./out && ./error-pages --log-level=debug build --index --target-dir ./out
|
||||
- if: matrix.os == runner.os && matrix.arch == runner.arch
|
||||
- if: ${{ matrix.os == runner.os && matrix.arch == runner.arch }}
|
||||
run: |
|
||||
test -f ./out/index.html
|
||||
test -f ./out/ghost/404.html
|
||||
|
Loading…
Reference in New Issue
Block a user