Skip to content

fix(): ci

fix(): ci #21

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: write
id-token: write
env:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

Check failure on line 11 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Build and Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 11, Col: 8): Unrecognized named-value: 'steps'. Located at position 1 within expression: steps.deployment.outputs.page_url
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install and Build 🔧
run: |
yarn install --frozen-lockfile
yarn build
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
# - name: Deploy 🚀
# uses: JamesIves/github-pages-deploy-action@v4
# with:
# folder: ./out