Add responsive images for blog posts #121
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: Generate TailwindCSS | |
on: push | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
- name: Install dependencies | |
run: npm install | |
- name: Generate TailwindCSS | |
run: npx tailwindcss -m -i ./assets/css/tailwind.css -o ./static/tailwind.css | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
default_author: github_actions | |
message: Generated TailwindCSS | |
add: static/tailwind.css |