Merge pull request #125 from mostafaznv/dev #115
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update Assets" | |
on: | |
workflow_dispatch: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
update: | |
name: Update Assets | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Node 16 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16.x' | |
- name: Compile Asset | |
run: | | |
npm install | |
npm run prod | |
env: | |
TAILWIND_MODE: build | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "build: update assets" |