diff options
| author | 2024-03-09 20:55:21 +0800 | |
|---|---|---|
| committer | 2024-03-09 20:55:21 +0800 | |
| commit | 8fb5ba0cbaa58b1fb6932b5fdca3993997de791c (patch) | |
| tree | 2dc27063ce405045998e20b1948253eecca3ff93 /.github/workflow/build_index.yml | |
| parent | be8a433248f171d939a57e7d56c2fbe7ec54e1dd (diff) | |
| download | ipm-server-8fb5ba0cbaa58b1fb6932b5fdca3993997de791c.tar.gz ipm-server-8fb5ba0cbaa58b1fb6932b5fdca3993997de791c.zip | |
feat(workflow): auto build ipk index
Diffstat (limited to '.github/workflow/build_index.yml')
| -rw-r--r-- | .github/workflow/build_index.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflow/build_index.yml b/.github/workflow/build_index.yml new file mode 100644 index 0000000..022cf5e --- /dev/null +++ b/.github/workflow/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]" |
