From 3bfda68c1488cf7f5fd7f9b1a83dad751851ca45 Mon Sep 17 00:00:00 2001 From: Eric Londaits Date: Mon, 8 Apr 2024 20:24:32 -0300 Subject: [PATCH] ci: Fix Github Pages deploy action so it works on push. I was using $default-branch, which can only be used on templates and not workflows. --- .github/workflows/deploy-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 15a967d..72cab97 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -4,7 +4,7 @@ on: # Run on pushes to the default branch push: branches: - [$default-branch] + - main # ... Also run manually workflow_dispatch: