Skip to content

feat: add google site verification header #214

feat: add google site verification header

feat: add google site verification header #214

Workflow file for this run

name: ci
on:
pull_request:
push:
branches: [main, qa]
jobs:
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install βš™οΈ
run: npm ci
- name: Build πŸ› 
run: npm run build-full
build-and-delpoy-to-qa:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/qa'
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install βš™οΈ
run: npm ci
- name: Build πŸ› 
run: npm run build-full
env:
QA: true
- name: Deploy to QA πŸš€
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build
target-folder: next
build-and-deploy:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install Docusaurus βš™οΈ
run: npm ci
- name: Build πŸ› 
run: npm run build-full
- name: Deploy to production πŸš€
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build
clean-exclude: next