From ba8060b37569cc60bb593597b34f758cd505fb63 Mon Sep 17 00:00:00 2001 From: MotoLegacy Date: Wed, 19 Jun 2024 16:28:39 -0700 Subject: [PATCH] CI tweaks --- .github/workflows/deploy-to-neocities.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-to-neocities.yml b/.github/workflows/deploy-to-neocities.yml index 5f5724b..ba2ea3a 100644 --- a/.github/workflows/deploy-to-neocities.yml +++ b/.github/workflows/deploy-to-neocities.yml @@ -1,5 +1,4 @@ name: Deploy to neocities -on: [push] # https://github.com/marketplace/actions/deploy-to-neocities # only run on changes to main. Use main or master depending on whatever your default branch is called. on: @@ -21,10 +20,12 @@ jobs: # This example uses a Node.js toolchain to build a site - name: Install Pandoc run: | - apt update && apt install -y pandoc + sudo apt update + sudo apt install -y pandoc - name: Build Page working-directory: ./ run: | + sudo -i ./generate_docs.sh # When the dist_dir is ready, deploy it to neocities - name: Deploy to neocities