diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 925685b..536eaf3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,7 @@ jobs: name: Build and deploy site run: | nix develop --command bash -c "netlify deploy --build --prod" - - if: starts_with('drafts/', github.ref_name) + - if: startsWith('drafts/', github.ref_name) name: Build and deploy draft versions of the site run: | nix develop --command bash -c "netlify deploy --build --context branch-deploy"