File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : CI
4+
5+ on :
6+ push :
7+ branches : ["main"]
8+
9+ # Allows you to run this workflow manually from the Actions tab
10+ # We want to hook up the mindersec/minder repo to trigger this action
11+ # on pushes to the main branch under docs.
12+ workflow_dispatch :
13+
14+ jobs :
15+ build :
16+ runs-on : ubuntu-latest
17+
18+ steps :
19+ - name : Checkout docs
20+ uses : actions/checkout@v4
21+ with :
22+ # TODO: change this to mindersec/minder once it is moved.
23+ repository : stacklok/minder
24+
25+ - uses : actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
26+ with :
27+ node-version : 18
28+
29+ - name : Install dependencies
30+ run : npm ci
31+
32+ - name : Build website
33+ run : npm run build
34+
35+ # Copied from https://github.com/stacklok/minder/blob/main/.github/workflows/deploy-doc.yaml
36+ - name : Deploy to GitHub Pages
37+ uses : peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
38+ with :
39+ github_token : ${{ secrets.GITHUB_TOKEN }}
40+ # Build output to publish to the `gh-pages` branch:
41+ publish_dir : ./docs/build
42+ cname : mindersec.github.io
Original file line number Diff line number Diff line change 1+ # Website for Minder
2+
3+ This site publishes the content from
4+ https://github.com/mindersec/minder/tree/main/docs to GitHub Pages. You probably
5+ want to make your changes there, unless you're looking to change the publishing
6+ process.
You can’t perform that action at this time.
0 commit comments