deps: update hecat deps #17
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: 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 |