Added step to create header image
This commit is contained in:
parent
75fc8cc598
commit
bb80a7315d
4 changed files with 76 additions and 1 deletions
|
|
@ -12,10 +12,21 @@ jobs:
|
|||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 21.1
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.24
|
||||
- name: Installing Netlify
|
||||
run: |
|
||||
npm install
|
||||
npm install netlify-cli -g
|
||||
- name: Building Site
|
||||
run: |
|
||||
mkdir -p build
|
||||
cp -r site/* build/.
|
||||
- name: Building Header Image
|
||||
run: |
|
||||
go run ./cmd/header-image -d build
|
||||
- name: Deploying Site
|
||||
run: |
|
||||
netlify deploy --dir site --prod
|
||||
netlify deploy --dir build --prod
|
||||
Loading…
Add table
Add a link
Reference in a new issue