Skip to content

Release v0.4.0 (#52) #60

Release v0.4.0 (#52)

Release v0.4.0 (#52) #60

Workflow file for this run

name: Docs on GitHub pages
on:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}-docs
cancel-in-progress: true
env:
ELIXIR_VERSION: 1.13
OTP_VERSION: 24.2
TOKENIZERS_BUILD: "true"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
- uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
native/ex_tokenizers/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: erlef/setup-beam@v1
with:
otp-version: "${{ env.OTP_VERSION }}"
elixir-version: "${{ env.ELIXIR_VERSION }}"
- run: mix deps.get
- run: mix docs
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages
folder: doc