feat: call callback url after review #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release workflow | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
name: release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Create mocked .env.local with required variables | |
run: | | |
echo MONGODB_URI=mongodb://mongo > .env.local | |
echo MONGODB_DB=mongodb >> .env.local | |
echo ENCRYPTION_KEY=encryption_key >> .env.local | |
- uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: 1 | |
- run: bun install | |
- run: bun run build | |
- run: bun run semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |