Skip to content

Commit

Permalink
chore: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mobily committed Mar 31, 2024
1 parent 12134c6 commit 3184971
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
7 changes: 6 additions & 1 deletion .github/release-drafter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,9 @@ autolabeler:
- '/fix/i'
- label: 'feature'
branch:
- '/feat\/.+/'
- '/(feat|feature)\/.+/'
title:
- '/feat/i'
- label: 'chore'
title:
- '/(chore|docs)/i'
6 changes: 2 additions & 4 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,12 @@ jobs:
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**/*.js', '**/*.jsx', '**/*.ts', '**/*.tsx') }}
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-
- name: Build
run: |
- run: |
cd docs
bun install --frozen-lockfile
bun run build
cd ..
- name: Deploy
uses: SamKirkland/[email protected]
- uses: SamKirkland/[email protected]
with:
server: ${{ secrets.GRAPP_FTP_SERVER_URL }}
username: ${{ secrets.GRAPP_FTP_USERNAME }}
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/update-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,16 @@ jobs:
contents: write

steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
ref: ${{ github.event.release.target_commitish }}

- name: Update Changelog
uses: stefanzweifel/changelog-updater-action@v1
- uses: stefanzweifel/changelog-updater-action@v1
with:
latest-version: ${{ github.event.release.tag_name }}
release-notes: ${{ github.event.release.body }}

- name: Commit updated CHANGELOG
uses: stefanzweifel/git-auto-commit-action@v5
- uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: ${{ github.event.release.target_commitish }}
commit_message: 'chore: update CHANGELOG.md'
Expand Down

0 comments on commit 3184971

Please sign in to comment.