1
0
weblog/.github/workflows/weblog.yaml
JackCarterSmith 64f91ff50b
All checks were successful
Build Jekyll weblog / build (push) Successful in 2s
Initial commit
2023-09-02 18:55:02 +02:00

25 lines
617 B
YAML

name: Build Jekyll weblog
on:
push:
branches: [ master ]
env:
REPO_DIR: ${{ gitea.repository }}
jobs:
build:
runs-on: [ubuntu]
steps:
- run: echo "Job triggered by a ${{ gitea.event_name }} event."
- name: Checkout 📥
uses: actions/checkout@v3
with:
ref: master
lfs: false
token: ${{ gitea.token }}
fetch: 1
- run: echo "Trying to build commit ${{ gitea.ref }} from repository."
- name: Build ⚙️
run: bundle exec --no-color jekyll build -d $OUT_DIR
env:
OUT_DIR: ${{ secrets.PUB_DIR }}