Skip to content

Merge pull request #16 from ElfenB:fix-auth-and-routing #17

Merge pull request #16 from ElfenB:fix-auth-and-routing

Merge pull request #16 from ElfenB:fix-auth-and-routing #17

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: Install Dependencies
run: npm clean-install
- name: Semantic-Release
run: npm run release
deploy:
needs: release
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Create .env file
run: |
echo "VITE_AUTH0_CLIENT_ID_WEB=${{ secrets.VITE_AUTH0_CLIENT_ID_WEB }}" > .env
echo "VITE_AUTH0_DOMAIN=${{ secrets.VITE_AUTH0_DOMAIN }}" >> .env
- name: Deploy
run: |
docker compose up -d --build