Skip to content

Build website

Build website #86

Workflow file for this run

# The site is built on branch `dist`, in folder `docs`,
# which makes the build compatible with Github Pages and Netlify
name: Build website
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
branches:
- "staging**"
workflow_dispatch:
permissions:
contents: write
concurrency:
group: "build-website"
cancel-in-progress: true
jobs:
build-website:
# if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/staging')
runs-on: ubuntu-latest
steps:
- run: echo "1${{ github.ref }}"
- run: echo "2${{ github.base_ref }}"
- run: echo "3${{ github.event.ref }}"
- run: echo "4yo${{ github.event.base_ref }}"