-
Notifications
You must be signed in to change notification settings - Fork 20
41 lines (35 loc) · 960 Bytes
/
cibuild.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
name: CI Build
on:
push:
branches-ignore:
- 'dependabot/**'
pull_request:
env:
LC_ALL: en_US.UTF-8
defaults:
run:
shell: bash
permissions: # added using https://github.com/step-security/secure-workflows
contents: read
jobs:
GitHub_Pages:
name: GitHub Pages
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: Gemfile
BUNDLE_PATH: vendor/bundle
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
- name: Git Checkout
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Set up Ruby
uses: ruby/setup-ruby@97e35c5302afcf3f5ac1df3fca9343d32536b286 # v1.184.0
with:
ruby-version: 2.7
bundler-cache: true
- name: Build
run: |
./.github/scripts/docs.sh