site under maintenence bc moving to ssg5 #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: Build and Deploy | ||
on: | ||
push: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
jobs: | ||
setup-deps: | ||
name: Setup Dependencies | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout lowdown repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: fmash16/ssg5 | ||
- name: Install Pandoc | ||
run: | | ||
sudo apt update | ||
sudo apt install -y texlive wget curl | ||
wget https://github.com/jgm/pandoc/releases/download/3.1.13/pandoc-3.1.13-1-amd64.deb | ||
sudo dpkg -i pandoc-3.1.13-1-amd64.deb | ||
pandoc --help | ||
run-ssg: | ||
name: Run SSG5 to generate site | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Add ssg5 to PATH | ||
- run: | | ||
sudo mv ssg5 /usr/local/bin | ||
- name: Checkout Website repo | ||
- uses: actions/checkout@v4 | ||
- name: Generate Site using ssg5 | ||
- run: | | ||
mkdir dst | ||
ssg5 src dst 'Coderrrrr' 'https://coderrrrr.site' |