Skip to content

Commit

Permalink
ci: build&release
Browse files Browse the repository at this point in the history
  • Loading branch information
chu-shen committed Oct 5, 2024
1 parent 5162e3c commit aabb773
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml → .github/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
version: ${{ github.event.release.tag_name }}
is-unstable: ${{ github.event.release.prerelease }}
secrets:
deploy-host: ${{ secrets.DEPLOY_HOST }}
deploy-user: ${{ secrets.DEPLOY_USER }}
deploy-key: ${{ secrets.DEPLOY_KEY }}
deploy-host: ${{ secrets.REPO_HOST }}
deploy-user: ${{ secrets.REPO_USER }}
deploy-key: ${{ secrets.REPO_KEY }}
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
push:
branches:
- master
- AnitomySharp
paths-ignore:
- '**/*.md'
pull_request:
branches:
- master
- AnitomySharp
paths-ignore:
- '**/*.md'

Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
branches:
- AnitomySharp

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
release-type: simple

0 comments on commit aabb773

Please sign in to comment.