Skip to content

template uploaded and deployed #1

template uploaded and deployed

template uploaded and deployed #1

Workflow file for this run

name: Deploy Chirpy Site to GitHub Pages
on:
push:
branches: [main] # or "master" if that's your default
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
- name: Install dependencies
run: |
gem install bundler
bundle config set --local path 'vendor/bundle'
bundle install
- name: Build site with Jekyll
run: bundle exec jekyll build
- name: Upload static site to Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./_site
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4