/jekyll-update-pages-action

Update multiple gh-pages without generating new commit

Primary LanguageShellApache License 2.0Apache-2.0

jekyll-update-pages-action

semantic-release

Action to update one or more repos which have GitHub Pages enabled - without generating a new commit.

Table of Contents

Usage

The example here will run at 0:30 daily to update all GitHub Pages sites available in the DP6 which are public repos.

Prerequisites

name: Update all GitHub Pages sites

on:
  schedule:
    - cron: "30 0 * * *"

jobs:
  github-pages:
    runs-on: ubuntu-latest
    name: Update GitHub Pages initiatives
    steps:
      - name: Jekyll update github pages without new commit
        uses: DP6/jekyll-update-pages-action@v1.0.1
        with:
          DEPLOY_TOKEN: ${{ secrets.GH_PAGES_DEPLOY_TOKEN }}
          USER: ${{ secrets.GH_PAGES_USER }}
          FILTER: "is%3Apublic%20org%3Adp6"

Inputs

Name Requirement Default Description
DEPLOY_TOKEN required Personal Access Token for accessing GitHub API
USER required Username of the owner of the Personal Access Token
FILTER optional is%3Apublic%20org%3Adp6 Find repositories matching this filter

Example Workflows

The dp6.github.io website is built with Jekyll and serves as a theme for the other repositories of the DP6 organization on github.

Architecture dp6.github.io

How to contribute

Pull requests are welcome! We will love help to evolve this module. Feel free to browse open issues looking for something you can do. If you have a new feature or bug, please open a new issue to be followed up by our team.

Mandatory requirements

Only contributions that meet the following requirements will be accepted:

Support:

DP6 Koopa-troopa Team

e-mail: koopas@dp6.com.br