Merge pull request #277 from RVxLab/master #13
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] | |
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 production | |
env: | |
TAILWIND_MODE: build | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Update Assets |