Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Fix indentation

Fix indentation #2

Workflow file for this run

name: Deploy Clipchamp Export Benchmark to GitHub Pages
on: [push]
jobs:
# Build job
build:
runs-un: ubuntu-latest

Check failure on line 6 in .github/workflows/deploy-page.yml

View workflow run for this annotation

GitHub Actions / Deploy Clipchamp Export Benchmark to GitHub Pages

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-page.yml (Line: 6, Col: 5): Unexpected value 'runs-un' .github/workflows/deploy-page.yml (Line: 6, Col: 5): Required property is missing: runs-on
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Install dependencies
uses: borales/actions-yarn@v4
with:
cmd: install # will run `yarn install` command
- name: Production build
uses: borales/actions-yarn@v4
with:
cmd: build:prod # will run `yarn build:prod` command
- name: Upload Pages Artefact
uses: actions/upload-pages-artifact@v3
with:
path: dist # Path to your built static files
# Deploy job
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action