Skip to content

Commit

Permalink
Merge pull request #11 from Garados007/test-ci
Browse files Browse the repository at this point in the history
CI: add job to test build for all PR
  • Loading branch information
Garados007 authored Dec 26, 2024
2 parents a048bb2 + b2c59de commit 9dbe3f4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test PR
on:
pull_request:
branches:
- master

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: build site
run: chmod +x build.sh && ./build.sh

- name: 'Build Zola'
uses: shalzz/zola-deploy-action@master
env:
BUILD_DIR: .
BUILD_FLAGS: --output-dir publish --base-url https://mabron.de/
BUILD_ONLY: true

0 comments on commit 9dbe3f4

Please sign in to comment.