Skip to content

chore: build markdown from data 84c5af5 #16

chore: build markdown from data 84c5af5

chore: build markdown from data 84c5af5 #16

Workflow file for this run

name: Build
on:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
build-markdown:
runs-on: ubuntu-latest
environment:
name: markdown
url: https://github.com/njiticc/awesome-nicc/blob/main/README.md
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
submodules: true
ssh-key: ${{ secrets.SSH_KEY }}
- run: make install
- run: make awesome_lint
- run: make export_markdown
- run: make push_markdown
build-html:
runs-on: ubuntu-latest
environment:
name: html
url: https://njiticc.github.io/awesome-nicc
permissions:
contents: read
pages: write
id-token: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
submodules: true
- run: make install
- run: make awesome_lint
- run: make export_html
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "./html/html"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4