Skip to content

Merge pull request #1 from resizes/backstage-integration #27

Merge pull request #1 from resizes/backstage-integration

Merge pull request #1 from resizes/backstage-integration #27

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
environment:
name: github-pages
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Build website
run: npm run build
- name: Set build folder as artifact
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: ./build
- uses: actions/deploy-pages@v4