mirror of
https://github.com/foo-dogsquared/website.git
synced 2025-02-07 12:19:36 +00:00
Update build steps
This commit is contained in:
parent
17f00d0021
commit
51932c7a8e
7
.github/workflows/build-drafts.yml
vendored
7
.github/workflows/build-drafts.yml
vendored
@ -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
|
|
||||||
|
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user