Skip to content

Commit

Permalink
chore: update workflows config (#46)
Browse files Browse the repository at this point in the history
### What this PR does?
使用 [reusable workflows](https://github.com/halo-sigs/reusable-workflows) 替换原本的配置

```release-note
None
```
  • Loading branch information
guqing authored Apr 30, 2024
1 parent aab05d2 commit f7b1401
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 81 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: CD

on:
release:
types:
- published

jobs:
cd:
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-cd.yaml@v1
secrets:
halo-username: ${{ secrets.HALO_USERNAME }}
halo-password: ${{ secrets.HALO_PASSWORD }}
permissions:
contents: write
with:
app-id: app-ESVDK
skip-node-setup: true
15 changes: 15 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
ci:
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-ci.yaml@v1
with:
skip-node-setup: true
81 changes: 0 additions & 81 deletions .github/workflows/workflow.yaml

This file was deleted.

0 comments on commit f7b1401

Please sign in to comment.