Skip to content

Client: changed default sort order #56

Client: changed default sort order

Client: changed default sort order #56

Workflow file for this run

name: Continious Deployment
on:
workflow_dispatch:
push:
branches:
- main
jobs:
render-server-deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy server
env:
URL: ${{ secrets.RENDER_DEPLOY_HOOK }}
run: |
curl -X GET "$URL"
- name: Delay before health check
run: sleep 60s
- name: Check server health
run: |
curl -sSf https://brickview.api.vasspass.net/health || exit 1
pages-client-deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./client
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Build angular app
run: npm run build:production
- name: Copy index.html to 404.html / Setup CNAME
run: |
cd dist/client
cp index.html 404.html
echo "brickview.vasspass.net" > CNAME
- name: Deploy client
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./client/dist/client