Skip to content

Merge branch 'main' of https://github.com/learner-pm/new_blog_docs in… #2

Merge branch 'main' of https://github.com/learner-pm/new_blog_docs in…

Merge branch 'main' of https://github.com/learner-pm/new_blog_docs in… #2

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
lint:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: install nodejs
uses: actions/[email protected]
with:
node-version: "16.X"
- name: install deps
run: npm install
- name: build app
run: npm run docs:build
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build

Check failure on line 48 in .github/workflows/jekyll-gh-pages.yml

View workflow run for this annotation

GitHub Actions / Deploy Jekyll with GitHub Pages dependencies preinstalled

Invalid workflow file

The workflow is not valid. .github/workflows/jekyll-gh-pages.yml (Line: 48, Col: 12): Job 'deploy' depends on unknown job 'build'.
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4