Fixing CI
This commit is contained in:
parent
e038f17e67
commit
10c773a961
1 changed files with 15 additions and 4 deletions
|
|
@ -1,3 +1,5 @@
|
|||
name: Build lyes.eu
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
|
@ -7,14 +9,19 @@ jobs:
|
|||
build:
|
||||
runs-on: fedora-latest
|
||||
steps:
|
||||
- name: install dependencies
|
||||
run: |
|
||||
dnf install -y --nogpgcheck --repofrompath 'terra,https://repos.fyralabs.com/terra$releasever' terra-release
|
||||
dnf install -y zola nodejs24 git
|
||||
mv /usr/bin/node-24 /usr/bin/node
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v6
|
||||
- name: install dependencies
|
||||
run: dnf install -y zola
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: build
|
||||
run: zola build
|
||||
- name: upload output
|
||||
uses: actions/upload-artifact@v6
|
||||
uses: forgejo/upload-artifact@v4
|
||||
with:
|
||||
name: output
|
||||
path: public/
|
||||
|
|
@ -25,8 +32,12 @@ jobs:
|
|||
- build
|
||||
runs-on: fedora-latest
|
||||
steps:
|
||||
- name: install dependencies
|
||||
run: |
|
||||
dnf install -y nodejs24
|
||||
mv /usr/bin/node-24 /usr/bin/node
|
||||
- name: download build
|
||||
uses: actions/download-artifact@v7
|
||||
uses: forgejo/download-artifact@v4
|
||||
with:
|
||||
name: output
|
||||
path: public/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue