update #28
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: | ||
<<<<<<< HEAD | ||
deploy-gh-pages: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Deploy Jekyll Site | ||
uses: sujaykundu777/jekyll-deploy-action@1.0.3 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }} | ||
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }} | ||
======= | ||
setup-deps-and-build-site: | ||
name: Setup Dependencies and build site | ||
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 | ||
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' | ||
>>>>>>> 5f0c58d8e77931f2b4d70a473265ce5f4302a2c1 |