Preview:
# 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: ["master"]

​

  # 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 one concurrent deployment

concurrency:

  group: "pages"

  cancel-in-progress: true

​

jobs:

  # Build job

  build:

    runs-on: ubuntu-latest
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter