-
Notifications
You must be signed in to change notification settings - Fork 4
44 lines (42 loc) · 1.08 KB
/
buildChaosBlog.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Build Chaos Blog
on:
workflow_dispatch: { }
push:
branches:
- "**"
paths:
- chaos-days/**
- .github/workflows/buildChaosBlog.yml
jobs:
build:
name: Build the documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Dependencies
run: |
cd chaos-days
npm config set legacy-peer-deps
npm install
- name: Build
run: |
cd chaos-days
npm run build
auto-merge:
name: Auto-merge dependency PRs
runs-on: ubuntu-latest
needs: [ build ]
if: github.repository == 'zeebe-io/zeebe-chaos' && (github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]')
permissions:
checks: read
pull-requests: write
steps:
- uses: actions/checkout@v4
- id: merge
name: Merge PR
run: gh pr merge ${{ github.event.pull_request.number }} --merge
env:
GITHUB_TOKEN: "${{ secrets.AUTO_MERGE_GITHUB_TOKEN }}"