Skip to content

Add third MongoDB Credly badge to credentials #108

Add third MongoDB Credly badge to credentials

Add third MongoDB Credly badge to credentials #108

Workflow file for this run

name: Deploy Backup to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch: # Allow manual trigger
# Sets permissions for GITHUB_TOKEN
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build client
run: npm run build.client
- name: Build static site for GitHub Pages
run: npx vite build -c adapters/static/vite.config.ts
env:
ORIGIN: https://chindris-mihai-alexandru.github.io
- name: Add .nojekyll file
run: touch dist/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4