forked from dieghernan/chulapa
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 921 Bytes
/
profile.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
on:
push:
branches:
- master
- main
workflow_dispatch:
name: jekyll-profile
jobs:
jekyll-profile:
runs-on: ubuntu-latest
env:
JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
bundler-cache: true
working-directory: 'docs'
- name: Run jekyll-profile
run: |
# Run Jekyll Profile
cd docs
# Bundle install
echo "::group::Jekyll folder"
echo "Building Jekyll from: $PWD"
echo "::endgroup::"
# Updating Bundle
echo "::group::Bundle Update"
bundle update
echo "::endgroup::"
# Jekyll Profile
echo "::group::Jekyll Profile"
bundle exec jekyll build --incremental --profile >> $GITHUB_STEP_SUMMARY
echo "::endgroup::"
shell: bash