Skip to content

fix ci

fix ci #37

Workflow file for this run

name: Build and deploy Jekyll site to GitHub Pages
on:
push:
branches:
- gh-pages-src
jobs:
github-pages:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Build Jekyll image
run: docker build --platform linux/amd64 -t jekyll-build .
- name: Make output dir
run: mkdir _site && touch _site/.nojekyll
- name: Jekyll build
run: docker run --platform linux/amd64 -v `pwd`:/srv/jekyll -e JEKYLL_ENV=production jekyll-build jekyll build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
cname: docs.imandra.ai
- uses: 8398a7/[email protected]
with:
status: ${{ job.status }}
fields: workflow,job,commit,repo,ref,author,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: always()