Compare commits

..

1 commit

Author SHA1 Message Date
c40ba3de32
ci: make step conditions more structured
All checks were successful
/ build (pull_request) Successful in 37s
Either have a step always be executed, be executed for prod or be
executed for a PR (staging) and use the same conditions for each of
these cases.
2025-07-26 16:44:41 +02:00

View file

@ -10,20 +10,15 @@ env:
TZ: Europe/Berlin TZ: Europe/Berlin
jobs: jobs:
pipeline-info:
runs-on: docker
container:
image: code.forgejo.org/oci/node:22-bookworm
steps:
- name: Pipeline info
run: |
echo "Run triggered by ${{ github.event_name }} (${{ github.event.action }}) on ref ${{ github.ref_name }}"
build: build:
runs-on: docker runs-on: docker
container: container:
image: hugomods/hugo:exts-0.148.1 image: hugomods/hugo:exts-0.148.1
steps: steps:
- name: Pipeline info
run: |
echo "Run triggered by ${{ github.event_name }} (${{ github.event.action }}) on ref ${{ github.ref_name }}"
- name: Install packages - name: Install packages
run: | run: |
apk update apk update