Skip to content

feat: dockerfile (#48) #36

feat: dockerfile (#48)

feat: dockerfile (#48) #36

Workflow file for this run

name: Build book
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
name: Build and Push
steps:
- uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '0.4.10'
- run: mdbook build
- uses: "finnp/create-file-action@master"
env:
FILE_NAME: "book/CNAME"
FILE_DATA: "rust4noobs.pgjbz.dev"
- name: Push
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: book
FOLDER: book
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Build: ({sha}) {msg}"