[ci] show warning #79
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 Sphinx documentation to Pages | |
# Runs on pushes targeting the default branch | |
on: | |
push: | |
branches: [master] | |
# Cancel any in-progress job or run | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
pages: | |
runs-on: ubuntu-20.04 | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
permissions: | |
pages: write | |
id-token: write | |
steps: | |
- run: | | |
sudo locale-gen en_US.UTF-8 | |
sudo update-locale | |
sudo apt-get update; | |
sudo apt-get install lilypond timidity fonts-noto-cjk | |
- uses: actions/checkout@master | |
with: | |
fetch-depth: 0 | |
submodules: true # for jianpu-ly | |
- id: deployment | |
uses: sphinx-notes/pages@v3 | |
with: | |
checkout: false |