Skip to content

Commit

Permalink
Check zola build on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
adriantombu committed Jul 23, 2024
1 parent 1cd8e0e commit 950a5f5
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Pull request

on: [ pull_request ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Zola
run: |
wget "https://github.com/getzola/zola/releases/download/v0.19.1/zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz"
sudo tar xzf ./zola-v0.19.1-x86_64-unknown-linux-gnu.tar.gz
- name: Build
run: "export CURRENT_TIME=$(date '+%d %B %Y'); ./zola build"
2 changes: 1 addition & 1 deletion .github/workflows/zola.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 950a5f5

Please sign in to comment.