Skip to content

Commit 048dbcd

Browse files
committed
ci: Add release web workflow
1 parent 5ba0b94 commit 048dbcd

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release-web.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Validate
2+
on:
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
validate:
10+
uses: './.github/workflows/validate.yml'
11+
secrets: inherit
12+
13+
release:
14+
runs-on: ubuntu-22.04
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: ./.github/actions/setup
18+
- uses: docker/login-action@v3
19+
with:
20+
username: ${{ secrets.DOCKERHUB_USERNAME }}
21+
password: ${{ secrets.DOCKERHUB_TOKEN }}
22+
- run: bun publish:web:docker
23+
working-directory: web
24+
- run: curl -X POST -i ${{ secrets.UPDATE_WEBSITE_WEBHOOK }}

0 commit comments

Comments
 (0)