Compare commits

...

4 commits

Author SHA1 Message Date
Kate Temkin 0ed1f81bb2 community: fix bad links 2024-05-05 11:01:52 -06:00
Kate Temkin 35798f4707 consistency: use upper-case Lix 2024-05-05 10:59:14 -06:00
Kate Temkin 0a12098bc7 github: add automatic deployment 2024-05-05 10:35:28 -06:00
Kate Temkin 218163587e deployment: prepare to deploy pre-soft-launch 2024-05-05 10:26:18 -06:00
6 changed files with 86 additions and 15 deletions

View file

@ -0,0 +1,75 @@
name: Deploy site
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
# Default to bash
defaults:
run:
shell: bash
jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.124.1
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
hugo \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

View file

@ -1,14 +1,11 @@
TODO List
==========
## Move to lix.systems Blockers
- Put this up on GH pages?
## Soft Release Blockers
- Remove the "pending pull request" from the install page, once that's merged.
- Fix the way CSS makes the page look on narrower monitors / mobile phones/
- Fix the way CSS makes the page look on narrower monitors / mobile phones
- Fix the logo to have proper transparency
## After Soft Release

View file

@ -1,11 +1,9 @@
baseURL: "https://scratch.lix.systems/"
baseURL: "https://lix.systems/"
theme: "lix"
languageCode: "en-us"
title: "Lix"
# googleAnalytics: ""
summaryLength: 20
params:

View file

@ -7,7 +7,7 @@ author: "Lix Team"
Lix exists **first and foremost for its community** -- and we very much hope that will include you!
If you're looking for help, have any questions, want to pitch in -- or just want to talk -- join us
using [one of the venues below](Engaging-with-the-Community) .
using [one of the venues below](#engaging-with-the-community) .
## Community Standards
@ -39,7 +39,8 @@ Joining is relatively straightforward -- you can find us on the `lix.systems` Ma
The easiest way to connect with us is to join our [Matrix space](https://matrix.to/#/#space:lix.systems),
which will allow you to see previews of and join the most relevant community rooms.
Note that all community venues -- including our Matrix rooms -- are subject to our [community standards].
Note that all community venues -- including our Matrix rooms -- are subject to our [community standards]
(/community-standards).
### Community Resources

View file

@ -6,7 +6,7 @@ content:
text: "Like other Nix ecosystems, Lix layers together multiple projects to create a full Lix stack — allowing you to forge your own systems on a base of community work."
cards:
- image: "images/ecosystem-lix.png"
alt: "lix's ice cream logo"
alt: "Lix's ice cream logo"
title: "The Lix Package Manager"
text: "The ecosystem's core is the Lix package manager — a community variant of the Nix configuration language and package management system."
button:
@ -14,7 +14,7 @@ content:
url: "https://git.lix.systems/lix-project/lix"
- image: "images/ecosystem-nixpkgs.svg"
alt: "nixpkg's logo in lix colors"
alt: "nixpkg's logo in Lix colors"
title: "Community Packages"
text: "Lix is fully compatible with existing Nix expressions — which means it benefits from the hundreds of thousands of existing community-maintained packages and configurations."
button:
@ -22,9 +22,9 @@ content:
url: "https://github.com/nixos/nixpkgs"
- image: "images/ecosystem-nixos.svg"
alt: "image of the lix logo on a monitor"
alt: "image of the Lix logo on a monitor"
title: "Lix-Managed Systems"
text: "Lix can also be used as the core Nix implementation for Nix-based systems, including the full NixOS distribution, as well as system management software like Home Manager or nix-darwin."
button:
label: "use lix with NixOS"
label: "use Lix with NixOS"
url: "/add-to-config"

View file

@ -10,6 +10,6 @@ content:
url: "/about#why-lix"
buttonSecondary:
label: "Start using lix"
label: "Start using Lix"
url: "/install"