Update main.yml

This commit is contained in:
lorin 2021-04-05 00:02:09 +02:00 committed by GitHub
parent cfa8e9c2ba
commit 1ca83a4891
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,18 +25,11 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v13
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Install Nix
uses: cachix/install-nix-action@v13
with:
nix_path: nixpkgs=channel:nixos-20.09
- run: "nix-shell --run 'nanoc --env=prod'"
- uses: actions/checkout@v2
# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!
# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
- name: Build site
run: "nix-shell --run 'nanoc --env=prod'"