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'"