Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dp6/jekyll-update-pages-action

Update multiple gh-pages without generating new commit
https://github.com/dp6/jekyll-update-pages-action

dp6 jekyll jekyll-action jekyll-site jekyll-theme jekyll-update

Last synced: 3 months ago
JSON representation

Update multiple gh-pages without generating new commit

Awesome Lists containing this project

README

        

# 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](#usage)
- [Inputs](#inputs)
- [Example Workflows](#example-workflows)

## Usage

The example here will run at 0:30 daily to update all GitHub Pages sites available in the [DP6](https://github.com/DP6) which are public repos.

### Prerequisites

- [Creating a personal access token](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token)
- [Choose search filters](https://docs.github.com/en/rest/reference/search#search-repositories)
- [Encode the filter](https://www.url-encode-decode.com/)

```yaml
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/[email protected]
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](https://dp6.github.io?utm_medium=README&utm_source=github&utm_campaign=gitacion) 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:

- [Commit pattern](https://www.conventionalcommits.org/en/v1.0.0/)

## Support:

**DP6 Koopa-troopa Team**

_e-mail: _