Fix GitHub actions

This commit is contained in:
Gabriel Arazas 2023-05-03 13:39:53 +08:00
parent fa1fe03b0e
commit b35ee9699a
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -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"