Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Fix out of date year #49

Fix out of date year

Fix out of date year #49

Workflow file for this run

name: Pages
on:
push:
branches:
- main
jobs:
pages:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: '16.x'
cache: 'npm'
- name: Install Node Dependencies
run: npm install
- name: Cache Ruby Dependencies
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Build Jekyll site
uses: helaili/jekyll-action@v2
with:
build_only: true
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build Minified JS
run: |
sudo chown -R $USER ./lib/
sudo chmod -R 755 ./lib
npm run rollupProduction
- name: Add CNAME file
run: echo "2023.hacktheburgh.com" > build/CNAME
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_branch: gh-pages
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'