Try building inside the github action
Some checks failed
Build and copy to prod / build-and-copy (push) Has been cancelled
Some checks failed
Build and copy to prod / build-and-copy (push) Has been cancelled
This commit is contained in:
parent
d983e623bb
commit
9aaa6f7cb0
23
.gitea/workflows/build-and-copy.yaml
Normal file
23
.gitea/workflows/build-and-copy.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
name: Build and copy to prod
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build-and-copy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20.x
|
||||
- name: Install dependencies 📦
|
||||
run: yarn install --frozen-lockfile
|
||||
- name: Build eleventy
|
||||
run: yarn build
|
||||
env:
|
||||
NODE_ENV: production
|
||||
OMNIVORE_API_KEY: ${{ secrets.OMNIVORE_API_KEY }}
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
name: Build on push
|
||||
on:
|
||||
push:
|
||||
schedule:
|
||||
- cron: '@hourly'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user