Skip to content

[1.2.1]: Fix deploy script and allow to clear data #40

[1.2.1]: Fix deploy script and allow to clear data

[1.2.1]: Fix deploy script and allow to clear data #40

Workflow file for this run

name: Docs
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
name: Deploy
runs-on: ubuntu-22.04
container:
image: crystallang/crystal
steps:
- name: Checkout 🛎️
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync
- name: Build docs
run: crystal docs --project-name Representer --project-version 1.2.0
- name: Deploy docs
uses: JamesIves/github-pages-deploy-action@a1ea191d508feb8485aceba848389d49f80ca2dc
with:
branch: gh-pages
folder: docs # The folder the action should deploy.
clean: true