Update build steps

This commit is contained in:
Gabriel Arazas 2023-04-24 17:42:27 +08:00
parent 17f00d0021
commit 51932c7a8e
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC
2 changed files with 6 additions and 8 deletions

View File

@ -25,7 +25,6 @@ jobs:
- name: Fetch all 'content/' branches - name: Fetch all 'content/' branches
run: | run: |
git fetch origin +refs/heads/content/*:refs/heads/content/* git fetch origin +refs/heads/content/*:refs/heads/content/*
- run: | - name: Build and deploy site
nix develop run: |
make build-draft nix develop --command bash -c "make build-draft && netlify deploy --context branch-deploy"
netlify deploy --context branch-deploy

View File

@ -25,7 +25,6 @@ jobs:
- name: Fetch all 'content/' branches - name: Fetch all 'content/' branches
run: | run: |
git fetch origin +refs/heads/content/*:refs/heads/content/* git fetch origin +refs/heads/content/*:refs/heads/content/*
- run: | - name: Build and deploy site
nix develop run: |
make build nix develop --command bash -c "make build && netlify deploy"
netlify deploy