From 048dbcde4e7dbeccc52233da1aeb5d7212b6c138 Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 7 May 2024 08:41:37 -0500 Subject: [PATCH] ci: Add release web workflow --- .github/workflows/release-web.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/release-web.yml diff --git a/.github/workflows/release-web.yml b/.github/workflows/release-web.yml new file mode 100644 index 0000000..31e2852 --- /dev/null +++ b/.github/workflows/release-web.yml @@ -0,0 +1,24 @@ +name: Validate +on: + workflow_dispatch: + push: + branches: + - main + +jobs: + validate: + uses: './.github/workflows/validate.yml' + secrets: inherit + + release: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: ./.github/actions/setup + - uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - run: bun publish:web:docker + working-directory: web + - run: curl -X POST -i ${{ secrets.UPDATE_WEBSITE_WEBHOOK }}