Update product pipeline for indexing in Solr cluster and frontend dev… #85
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v26 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v14 | |
with: | |
name: cv-maxdaten-io | |
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}" | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- run: nix-shell --pure --run 'make pages' | |
- name: Upload pages | |
uses: actions/[email protected] | |
with: | |
name: pages | |
path: build | |
deploy: | |
runs-on: ubuntu-latest | |
needs: [build] | |
steps: | |
- name: Download artifact | |
uses: actions/[email protected] | |
with: | |
name: pages | |
path: build | |
- name: GitHub Pages | |
uses: crazy-max/[email protected] | |
with: | |
build_dir: build | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |