Update main.yml
This commit is contained in:
parent
cfa8e9c2ba
commit
1ca83a4891
1 changed files with 6 additions and 13 deletions
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
|
@ -25,18 +25,11 @@ jobs:
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- 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:
|
with:
|
||||||
nix_path: nixpkgs=channel:nixos-20.09
|
nix_path: nixpkgs=channel:nixos-20.09
|
||||||
- run: "nix-shell --run 'nanoc --env=prod'"
|
- name: Build site
|
||||||
- uses: actions/checkout@v2
|
run: "nix-shell --run 'nanoc --env=prod'"
|
||||||
|
|
||||||
# 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.
|
|
||||||
|
|
Loading…
Reference in a new issue