Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dp6/jekyll-update-pages-action
- Owner: DP6
- License: apache-2.0
- Created: 2021-04-01T15:05:08.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-01T18:38:48.000Z (about 3 years ago)
- Last Synced: 2024-10-11T19:41:18.685Z (3 months ago)
- Topics: dp6, jekyll, jekyll-action, jekyll-site, jekyll-theme, jekyll-update
- Language: Shell
- Homepage: https://dp6.github.io/jekyll-update-pages-action
- Size: 39.1 KB
- Stars: 7
- Watchers: 23
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# jekyll-update-pages-action
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 siteson:
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.
## 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: _