Skip to content

Add _PROTO_ID variable to typeshed #91

Add _PROTO_ID variable to typeshed

Add _PROTO_ID variable to typeshed #91

name: publish website
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build_docs_job:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Build the Website
run: |
cd documentation/website
yarn install
yarn run build
echo "OUTPUT_TIME=$(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV
- name: Get output time
run: echo "The time was ${{ env.OUTPUT_TIME }} (UTC)"
- name: Deploy
if: ${{ github.event_name == 'push' }}
uses: JamesIves/github-pages-deploy-action@fa24774553152dd7873cd16ebd8d959b010c5445 # v4.9.0
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: documentation/website/build # The folder the action should deploy.