Skip to content

Set up preview deployment. #1

Set up preview deployment.

Set up preview deployment. #1

Workflow file for this run

name: Publish
on:
push:
branches:
- website
jobs:
deploy:
name: Deploy Website Preview
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Dependencies
run: |
make dev-deps
- name: Build Website Preview
run: |
make build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
with:
path: 'build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2