trust-cps-group / trust-cps-group.github.io

MIT License
1 stars 0 forks source link

Add caching to deployment #3

Open modass opened 2 years ago

modass commented 2 years ago

Add capability to cache dependencies for the github deployment action.

ennioVisco commented 2 years ago

Couldn't we just update the github action to:

name: Build and deploy Jekyll site to GitHub Pages

on:
  push:
    branches:
      - main # or master before October 2020

jobs:
  github-pages:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: helaili/jekyll-action@v2
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

Which seems to be the current standard for Github actions that deploy jekyll to github pages?

modass commented 2 years ago

No, the default github deployment does not allow jekyll::scholar, as far as I know - they seem to have restricted packages only. But you can try and we'll find out ;)