From 17affab5ff2c423cfd60ac6cd4ca5321749a78e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9cate=20Kleidukos?= Date: Mon, 12 Aug 2024 21:06:12 +0200 Subject: [PATCH] Put the zola binary in PATH for CI --- .github/workflows/deploy.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 125fd4e..c0898b6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,6 +13,13 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 + - run: | + apt-get update && apt-get install -y wget git + - run: | + wget -q -O - \ + "https://github.com/getzola/zola/releases/download/v0.19.1/zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz" \ + | tar xzf - -C /usr/local/bin + - run: npm install - run: npm run abridge - name: 'Build only' @@ -31,6 +38,12 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 + - run: | + apt-get update && apt-get install -y wget git + - run: | + wget -q -O - \ + "https://github.com/getzola/zola/releases/download/v0.19.1/zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz" \ + | tar xzf - -C /usr/local/bin - run: npm install - run: npm run abridge - name: 'Build and deploy'