chore: Updated deployment scripts and added health check in platform #43
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: Semantic Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: install pnpm | |
run: npm i -g pnpm | |
- name: install | |
run: pnpm i | |
- name: release | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }} | |
GITHUB_CLIENT_ID: dummy | |
GITHUB_CLIENT_SECRET: dummy | |
GITHUB_CALLBACK_URL: dummy | |
REDIS_URL: redis://localhost:6379 | |
JWT_SECRET: secret | |
run: pnpx semantic-release |