Skip to content

Merge pull request #33 from gutenfries/main #113

Merge pull request #33 from gutenfries/main

Merge pull request #33 from gutenfries/main #113

Workflow file for this run

name: minify-workflow
on:
# Triggers the workflow on push events but only for the main or dev branch
push:
branches: [ main, dev ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: push
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Set up workspace
uses: actions/checkout@v2
- name: Auto minify
run: |
./.github/workflows/minify.sh
- name: Auto commit
run: |
git add .
git -c user.name='minify-bot' -c user.email='[email protected]' commit -m "Auto minify" || exit 0
git push
env:
github-token: ${{ secrets.GITHUB_TOKEN }}