diff --git a/.gitea/workflows/build-script.yaml b/.gitea/workflows/build-script.yaml index 46def22..2218968 100644 --- a/.gitea/workflows/build-script.yaml +++ b/.gitea/workflows/build-script.yaml @@ -42,7 +42,7 @@ jobs: image: typst-builder-image:latest options: --volumes-from=${{ env.JOB_CONTAINER_NAME }} cwd: ${{ github.workspace }} - run: "cd ${{ github.workspace }} && ls -laF ./compile-all.bash" + run: "cd ${{ github.workspace }} && bash -c ./compile-all.bash" - name: Upload PDFs if: always() diff --git a/compile-all.bash b/compile-all.bash index 71fc547..f307d35 100755 --- a/compile-all.bash +++ b/compile-all.bash @@ -1,4 +1,4 @@ -#!/usr/bin/sh +#!/usr/bin/env bash set -euo pipefail SRC_DIR="${TYPST_SOURCE_DIR}"