Add support for sending multiple embeds in a single message #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Docs | |
on: | |
push: | |
branches: | |
- master | |
tags: | |
- v* | |
paths-ignore: | |
- "CHANGELOG.md" | |
jobs: | |
deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: MeilCli/setup-crystal-action@v4 | |
with: | |
crystal_version: 1.2.1 | |
shards_version: 0.16.0 | |
- name: Install dependencies | |
run: shards install | |
- name: Run crystal doc | |
run: crystal doc | |
- name: Extract branch name | |
shell: bash | |
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" | |
id: extract_branch | |
- name: Deploy to gh-pages | |
uses: peaceiris/actions-gh-pages@v3.7.0-8 | |
with: | |
personal_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs | |
destination_dir: ${{ steps.extract_branch.outputs.branch }} | |