Skip to content

Commit

Permalink
revert changes to GA
Browse files Browse the repository at this point in the history
  • Loading branch information
hmistry committed Jan 20, 2025
1 parent d0057e1 commit 6cd34a5
Showing 1 changed file with 25 additions and 54 deletions.
79 changes: 25 additions & 54 deletions .github/workflows/jekyll-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,63 +25,34 @@ concurrency:
group: "pages"
cancel-in-progress: false

# jobs:
# jekyll:
# runs-on: ubuntu-latest
# steps:
# - name: πŸ“‚ Checkout
# uses: actions/checkout@v4

# # include the lines below if you are using jekyll-last-modified-at
# # or if you would otherwise need to fetch the full commit history
# # however this may be very slow for large repositories!
# # with:
# # fetch-depth: '0'
# - name: πŸ’Ž Setup Ruby
# uses: ruby/setup-ruby@v1
# with:
# ruby-version: '3.3'
# bundler-cache: true

# - name: πŸ”¨ Install dependencies & build site
# uses: limjh16/jekyll-action-ts@v2
# with:
# enable_cache: true

# - name: πŸš€ Deploy
# uses: peaceiris/actions-gh-pages@v4
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./_site
# # if the repo you are deploying to is <username>.github.io, uncomment the line below.
# # if you are including the line below, make sure your source files are NOT in the "main" branch:
# # publish_branch: main

jobs:
# Build job
build:
jekyll:
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: πŸ“‚ Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1

# include the lines below if you are using jekyll-last-modified-at
# or if you would otherwise need to fetch the full commit history
# however this may be very slow for large repositories!
# with:
# fetch-depth: '0'
- name: πŸ’Ž Setup Ruby
uses: ruby/setup-ruby@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
ruby-version: '3.3'
bundler-cache: true

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
- name: πŸ”¨ Install dependencies & build site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true

- name: πŸš€ Deploy
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
# if the repo you are deploying to is <username>.github.io, uncomment the line below.
# if you are including the line below, make sure your source files are NOT in the "main" branch:
# publish_branch: main

0 comments on commit 6cd34a5

Please sign in to comment.