aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2024-03-09 20:58:27 +0800
committer简律纯 <i@jyunko.cn>2024-03-09 20:58:27 +0800
commit5be9dbf6c7141c76f82f20889bd74b8bf6131a38 (patch)
tree529797c78b2948ed31a7544e6e0800a47c6843e3 /.github/workflows
parent8fb5ba0cbaa58b1fb6932b5fdca3993997de791c (diff)
downloadipm-server-5be9dbf6c7141c76f82f20889bd74b8bf6131a38.tar.gz
ipm-server-5be9dbf6c7141c76f82f20889bd74b8bf6131a38.zip
fix(workflows): workflow -> workflows
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_index.yml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/build_index.yml b/.github/workflows/build_index.yml
new file mode 100644
index 0000000..022cf5e
--- /dev/null
+++ b/.github/workflows/build_index.yml
@@ -0,0 +1,28 @@
+name: Build Package Index
+
+on:
+ push:
+ branch: gh-pages
+ workflow_dispatch:
+ pull_request:
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ pull-requests: write
+ id-token: write
+
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@v4
+
+ - name: build pkg Index
+ run: make pkg_index
+
+ - name: commit
+ uses: stefanzweifel/git-auto-commit-action@v5
+ with:
+ branch: gh-pages
+ commit_message: "feat(site): update index for ${{ github.ref_name }} [skip ci]"