Skip to content

deploy

deploy #15

Workflow file for this run

name: deploy
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- main
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-20.04
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Build
uses: docker/bake-action@v2
with:
targets: release
set: |
*.cache-from=type=gha,scope=deploy-website
*.cache-to=type=gha,scope=deploy-website,mode=max
-
name: Publish
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: _site
jekyll: false
fqdn: mobyproject.org
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}