Skip to content

Merge pull request #38 from morotsgurka/dependabot/npm_and_yarn/tailw… #32

Merge pull request #38 from morotsgurka/dependabot/npm_and_yarn/tailw…

Merge pull request #38 from morotsgurka/dependabot/npm_and_yarn/tailw… #32

Workflow file for this run

name: Build and Deploy Jekyll
on:
push:
branches:
- main # Change this to your main branch name
paths-ignore:
- 'README.md'
- '.gitignore'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version # uses the Ruby version specified in the .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc # uses the Node.js version specified in the .nvmrc file
cache: 'npm' # enables caching of npm dependencies
- run: npm ci
- name: Build site for production
run: npm run build:production
- name: GitHub Pages
uses: crazy-max/ghaction-github-pages@v4
with:
build_dir: _site/
fqdn: www.mardestam.com # Change this to your domain name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}