-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Currently minisauras only allows for a pull request to master to be generated. There are two possible solutions:
- Allow a config value for the branch to open the PR to. For example a config value called branch
- Keep all the files in the working dir after running so they can be auto-commited using another action i.e.
name: Minify JS and CSS on pages branch
on:
push:
branches:
- gh-pages
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.PERSONAL_TOKEN }}
- name: minisauras
uses: TeamTigers/minisauras@v2.0.0
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
id: dir
with:
directory: './' ## minify all files under root directory
- name: Auto committing minified files
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Github Action: Auto Minified JS and CSS files"
branch: gh-pagesReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels