Skip to content

feat: switch to env var #10

feat: switch to env var

feat: switch to env var #10

Workflow file for this run

name: minifier
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
minify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Minify Action
uses: dra1ex/[email protected]
- uses: stefanzweifel/git-auto-commit-action@v5
env:
GITHUB_TOKEN: ${{ secrets.REPO_SCOPED_TOKEN }}
with:
branch: minified
create_branch: true
commit_message: Apply minifications
push_options: "--force"