Skip to content

added github links to projects #61

added github links to projects

added github links to projects #61

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages
on:
push:
branches:
- main
paths-ignore:
- '**.md'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
# Jekyll Picture Tag requires libvips libraries for resizing images, which must be installed
- name: Install JPT's dependencies
run: sudo apt-get install libvips-tools
- name: Checkout
uses: actions/checkout@v3
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7.0
- name: Install Bundler
run: gem install bundler -v 2.4.15 --no-document
- name: Bundle Install
run: bundle install
- name: Setup Pages
id: pages
uses: actions/configure-pages@v1
- run: bundle exec jekyll build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
name: Jekyll site
path: _site
# Deployment job
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
with:
artifact_name: Jekyll site