Skip to content

Commit 6fbb76e

Browse files
authored
add github metadata
1 parent d607876 commit 6fbb76e

4 files changed

Lines changed: 81 additions & 0 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @prplecake

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "monthly"

.github/workflows/deploy.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches: ["master"]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
14+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
15+
concurrency:
16+
group: "pages"
17+
cancel-in-progress: false
18+
19+
jobs:
20+
deploy:
21+
environment:
22+
name: github-pages
23+
url: ${{ steps.deployment.outputs.page_url }}
24+
runs-on: ubuntu-latest
25+
steps:
26+
- name: Checkout
27+
uses: actions/checkout@v4
28+
with:
29+
submodules: recursive
30+
- name: Install pandoc
31+
run: sudo apt install -y pandoc
32+
- name: Setup Pages
33+
uses: actions/configure-pages@v5
34+
- name: Build site
35+
run: make build
36+
- name: Upload artifact
37+
uses: actions/upload-pages-artifact@v3
38+
- name: Deploy to GitHub Pages
39+
id: deployment
40+
uses: actions/deploy-pages@v4
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Update submodule robots.txt
2+
3+
on:
4+
workflow_dispatch:
5+
6+
permissions:
7+
contents: write
8+
9+
concurrency:
10+
group: 'update-submodules'
11+
cancel-in-progress: true
12+
13+
jobs:
14+
update-submodule-robots-txt:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
with:
20+
submodules: recursive
21+
- name: Update submodules
22+
run: git submodule update --remote submodules/robots.txt
23+
- name: Commit changes
24+
if: ${{ github.event_name != 'pull_request' }}
25+
uses: devops-infra/action-commit-push@master
26+
with:
27+
github_token: "${{ secrets.GITHUB_TOKEN }}"
28+
commit_prefix: "[Workflow Commit] "
29+
commit_message: "Updated submodules"

0 commit comments

Comments
 (0)