Skip to content

add avocadoom / thilobillerbeck to marketing (#1229) #963

add avocadoom / thilobillerbeck to marketing (#1229)

add avocadoom / thilobillerbeck to marketing (#1229) #963

Workflow file for this run

name: "Build & Deploy to Netlify"
on:
pull_request:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checking out the repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Installing Nix
uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
experimental-features = nix-command flakes
- name: Setup Cachix
uses: cachix/cachix-action@v14
with:
name: nixos-homepage
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Building nixos.org
run: |
nix build
mkdir build
cp -RL ./result/* ./result/.well-known/ ./build/
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v2.1.0
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
with:
production-branch: 'master'
production-deploy: ${{ github.ref_name == 'master' }}
publish-dir: './build'
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: 'Deploy from GitHub Actions'
enable-pull-request-comment: true
enable-commit-comment: true
enable-commit-status: true
overwrites-pull-request-comment: false
if: github.repository == 'NixOS/nixos-homepage'