A minimal email TUI where you read with Markdown and write in Neovim. neomd.ssp.sh/docs
email markdown neovim tui
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 85 lines 2.2 kB view raw
1# Deploy Hugo documentation site to GitHub Pages 2name: Deploy Documentation 3 4on: 5 # Runs on pushes targeting the main branch 6 push: 7 branches: ["main", "neomd-docs"] 8 paths: 9 - 'docs/**' 10 - '.github/workflows/deploy-docs.yaml' 11 12 # Allows you to run this workflow manually from the Actions tab 13 workflow_dispatch: 14 15# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages 16permissions: 17 contents: read 18 pages: write 19 id-token: write 20 21# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. 22# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. 23concurrency: 24 group: "pages" 25 cancel-in-progress: false 26 27# Default to bash 28defaults: 29 run: 30 shell: bash 31 32jobs: 33 # Build job 34 build: 35 runs-on: ubuntu-latest 36 env: 37 HUGO_VERSION: 0.156.0 38 steps: 39 - name: Checkout 40 uses: actions/checkout@v4 41 with: 42 fetch-depth: 0 # fetch all history for .GitInfo and .Lastmod 43 submodules: recursive 44 45 - name: Setup Go 46 uses: actions/setup-go@v5 47 with: 48 go-version: '1.24' 49 50 - name: Setup Pages 51 id: pages 52 uses: actions/configure-pages@v4 53 54 - name: Setup Hugo 55 run: | 56 wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ 57 && sudo dpkg -i ${{ runner.temp }}/hugo.deb 58 59 - name: Build with Hugo 60 env: 61 # For maximum backward compatibility with Hugo modules 62 HUGO_ENVIRONMENT: production 63 HUGO_ENV: production 64 run: | 65 cd docs 66 hugo \ 67 --gc --minify \ 68 --baseURL "${{ steps.pages.outputs.base_url }}/" 69 70 - name: Upload artifact 71 uses: actions/upload-pages-artifact@v3 72 with: 73 path: ./docs/public 74 75 # Deployment job 76 deploy: 77 environment: 78 name: github-pages 79 url: ${{ steps.deployment.outputs.page_url }} 80 runs-on: ubuntu-latest 81 needs: build 82 steps: 83 - name: Deploy to GitHub Pages 84 id: deployment 85 uses: actions/deploy-pages@v4