Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 394d2c16 authored by David Aparicio's avatar David Aparicio
Browse files

:construction_worker: ci: Testing the GitHub Pages publication

parent 8624f6b7
No related branches found
No related tags found
No related merge requests found
name: GH Pages CI
on:
push:
branches:
- master
paths-ignore:
- "docs/**"
schedule:
#https://crontab.guru/#37_13_*_*_3
- cron: "37 13 * * 3"
# Fix jekyll-action: failed to publish artifacts 403 Resource not accessible by integration
# fatal: unable to access 'repo_url': The requested URL returned error: 403
permissions:
contents: write
packages: write
deployments: write
jobs:
jekyll:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- name: Get cached gems
uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
# Use jekyll-action
- uses: helaili/jekyll-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
target_branch: 'gh-pages'
# Specify the Jekyll source location as a parameter
#jekyll_src: 'sample_site'
#https://jekyllrb.com/docs/continuous-integration/github-actions/
#https://github.com/MichaelCurrin/jekyll-actions-quickstart
\ No newline at end of file
...@@ -6,7 +6,19 @@ safe: false ...@@ -6,7 +6,19 @@ safe: false
# Build Settings # Build Settings
markdown: kramdown markdown: kramdown
permalink: pretty permalink: pretty
exclude: ['/automation/', 'README.md', 'LICENSE.txt', 'CNAME'] #exclude: ['/automation/', 'README.md', 'LICENSE.txt', 'CNAME']
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- /automation/
- README.md
- LICENSE.txt
- CNAME
# Site Settings # Site Settings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment