From 1ca83a48910200801efbc1faeda70e58114d7e9d Mon Sep 17 00:00:00 2001 From: lorin Date: Mon, 5 Apr 2021 00:02:09 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 68590f1..cf5fed7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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'"