Merge pull request #111 from facundoolano/footnote_in_footnote #56
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: CI | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: git | |
run: | | |
git clone --depth 1 "https://x-access-token:${{secrets.GITHUB_TOKEN}}@github.com/${GITHUB_REPOSITORY}" . | |
git config user.name "GitHub Action" | |
git config user.email "[email protected]" | |
git log -1 --format="%H" | |
- name: go | |
run: sudo snap install go --classic | |
- name: test | |
run: make test | |
- name: gh-pages | |
run: | | |
git checkout --orphan gh-pages && git reset | |
make generate-gh-pages | |
git add -f docs/ && git commit -m deploy | |
git push -f origin gh-pages | |
- name: notify | |
if: ${{ failure() }} | |
run: | | |
text="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID} failed" | |
curl --silent --output /dev/null ${{secrets.TELEGRAM_URL}} -d "chat_id=${{secrets.TELEGRAM_CHAT_ID}}&text=${text}" |