Skip to content

feat: add theme publishing functionality, UI button and a new command… #312

feat: add theme publishing functionality, UI button and a new command…

feat: add theme publishing functionality, UI button and a new command… #312

name: Compile Assets
on: [ push, workflow_dispatch ]
jobs:
compile:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
token: ${{ secrets.ACCESS_TOKEN }}
- uses: actions/setup-node@v3
- name: Install NPM dependencies
run: npm install -g bower && npm ci --ignore-scripts
- name: Compile assets
run: npm run prod
- name: Commit compiled files
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Compile Assets
file_pattern: public