.github
workflows
build.yml
main.yml
.vscode
_data
_includes
_layouts
_posts
_sass
assets
.editorconfig
.gitattributes
.gitignore
.travis.yml
404.md
Dockerfile
Gemfile
LICENSE
README.md
Rakefile
_bibliography.bib
_config.yml
about.md
blog.md
connect.md
favicon.ico
index.html.bak
index.md
nginx_default.conf
package.json
projects.md
publications.md
research.md
robots.txt
teaching.md
45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
name: Jekyll site CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
docker:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Login to GitHub Container Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- uses: actions/checkout@v4
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: '3.2.2'
|
|
- run: bundle install
|
|
- run: bundle exec jekyll build --trace --future
|
|
|
|
#- name: Set up QEMU
|
|
# uses: docker/setup-qemu-action@v3
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Login to GitHub Container Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: .
|
|
platforms: linux/amd64 # ,linux/arm64
|
|
push: true
|
|
tags: ghcr.io/illiumst/website
|