aboutsummaryrefslogblamecommitdiff
path: root/.build.yml
blob: 6794a17e883b6200ce71bfdad4415d004d6ae492 (plain) (tree)
1
2
3
4
5
6
7
8
                     

         
         


                                 
        


                                        
      

                                             

                                                                 

                       
           



                                
image: debian/stretch
packages:
  - curl
triggers:
  - condition: failure
    action: email
    to: EuAndreh <eu@euandre.org>
sources:
  - https://git.sr.ht/~euandreh/website
secrets:
  - 7159f943-811f-402d-bb6d-37cd764dc728
tasks:
  - setup: |
      curl https://nixos.org/nix/install | sh
      echo '. ~/.nix-profile/etc/profile.d/nix.sh' >> ~/.buildenv
  - tests: |
      cd website/
      nix-build -A test
  - docs: |
      cd website/
      nix-build -A publishScript
      source env.sh
      ./result/bin/publish.sh