Skip to content

Delete CNAME

Delete CNAME #12

Workflow file for this run

# SPDX-FileCopyrightText: 2025 DB Systel GmbH
#
# SPDX-License-Identifier: Apache-2.0
name: Default push workflow
on:
push:
branches:
- "main"
jobs:
init:
runs-on: ubuntu-latest
steps:
- name: 🛑 Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.1
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: 🔄 Init Cache Default
uses: ./.github/actions/npm-cache
- name: 📥 Download deps default-npm-cache
if: steps.npm-cache.outputs.cache-hit != 'true'
uses: bahmutov/npm-install@v1
build:
runs-on: ubuntu-latest
needs: [init]
steps:
- name: 🍼 Create pages build
run: npm run build
deploy:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' && (github.event.pull_request == null || github.event.pull_request.head.repo.owner.login == 'db-ux-design-system') }}
needs: [build]
steps:
- name: 🥅 Deploy to GH-Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}