Skip to content

Remove npm run build step from deploy workflow (#83) #62

Remove npm run build step from deploy workflow (#83)

Remove npm run build step from deploy workflow (#83) #62

Workflow file for this run

# Source: https://mzrn.sh/2023/10/26/how-to-use-tailwind-css-with-jekyll-on-github-pages/
name: Build and deploy this site to GitHub Pages
on:
push:
branches:
- master
env:
JEKYLL_ENV: production
NODE_ENV: production
TZ: America/Caracas
jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true
- name: Install apt dependencies
run: |
sudo apt-get update
sudo apt-get install -y $(cat .apt)
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install Node dependencies
run: npm install
- name: Build site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
custom_opts: "--verbose"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site