mirror of
https://gitea.invidious.io/iv-org/shard-athena-negotiation.git
synced 2024-08-15 00:53:23 +00:00
27 lines
686 B
YAML
27 lines
686 B
YAML
name: Deployment
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
deploy_docs:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: crystallang/crystal:latest-alpine
|
|
steps:
|
|
- name: Install Build Dependencies
|
|
run: apk add --update rsync
|
|
- uses: actions/checkout@v2
|
|
- name: Install Dependencies
|
|
run: shards install
|
|
- name: Build
|
|
run: crystal docs lib/athena-spec/src/athena-spec.cr src/athena-negotiation.cr
|
|
- name: Deploy
|
|
uses: JamesIves/github-pages-deploy-action@3.7.1
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
BRANCH: gh-pages
|
|
FOLDER: docs
|
|
SINGLE_COMMIT: true
|