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 }}