Skip to content

Use devcontainer in ci #91

Use devcontainer in ci

Use devcontainer in ci #91

Workflow file for this run

name: Blog
on:
pull_request:
branches:
- release
push:
branches:
- release
jobs:
blog:
name: Blog
runs-on: ubuntu-latest
steps:
- uses: 'actions/checkout@v3'
- name: Build
uses: devcontainers/[email protected]
with:
cacheFrom: ghcr.io/alcarney/blog-devenv
push: never
runCmd: make html
- name: 'Upload Aritfact'
uses: 'actions/upload-artifact@v3'
with:
name: 'blog'
path: '_build/html'
- name: 'Publish Site'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: _build/html
clean: true
if: success() && startsWith(github.ref, 'refs/heads/release')