Skip to content

Update CI workflows #90

Update CI workflows

Update CI workflows #90

Workflow file for this run

name: DOCS
on:
push:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
container:
image: crystallang/crystal:1.14.0
steps:
- name: Work around permission issue
run: git config --global --add safe.directory /__w/i18n/i18n
- name: Checkout
uses: actions/[email protected]
with:
persist-credentials: false
- uses: actions/setup-node@v2
with:
node-version: '12'
- name: Install and Build
run: |
cd docs
npm install
cd ..
make docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.ACCESS_TOKEN }}
external_repository: crystal-i18n/crystal-i18n.github.io
publish_branch: gh-pages
publish_dir: docs/src/.vuepress/dist