From 636d1119fedcf08290a017e65345d684408c36c2 Mon Sep 17 00:00:00 2001 From: Noah Gibbs Date: Fri, 14 Jul 2023 14:47:52 +0100 Subject: [PATCH] Fix some problems with the docs GHAction --- .github/workflows/build-docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 4379919cb..eafee0789 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -5,7 +5,7 @@ name: Deploy YARD documentation to Pages on: # Runs on pushes targeting the default branch push: - branches: [$default-branch] + branches: [main] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -40,7 +40,7 @@ jobs: id: pages uses: actions/configure-pages@v3 - name: Build with yardoc - run: rm -r .yardoc doc && bundle exec yardoc -o doc + run: rm -rf .yardoc doc && bundle exec yardoc -o doc env: FAKE_ENV: example - name: Upload artifact