Skip to content

Prevent thumbnail resize in project list #26

Prevent thumbnail resize in project list

Prevent thumbnail resize in project list #26

Workflow file for this run

name: Deploy website
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Build website
run: nix run .#deploy
- name: Deploy to Pages
uses: actions/upload-pages-artifact@v3
with:
path: ./public
# TODO
# - run: nix flake check
deploy:
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4