Skip to content

Commit

Permalink
[Deploy] Fix Github Actions deployment error
Browse files Browse the repository at this point in the history
  • Loading branch information
renan-taranto committed Dec 27, 2023
1 parent 87a9307 commit 30fc794
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
name: Jekyll Deploy
name: Build and Deploy a Jekyll Site to GitHub Pages

on:
push:
branches:
- master

jobs:
build_and_deploy:
runs-on: ubuntu-latest
jekyll:
runs-on: macos-latest
steps:
- name: GitHub Checkout
uses: actions/checkout@v1
- name: Bundler Cache
uses: actions/cache@v1
- name: 📂 setup
uses: actions/checkout@v2
- name: 💎 setup ruby
uses: ruby/setup-ruby@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Build & Deploy to GitHub Pages
uses: joshlarsen/jekyll4-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}
ruby-version: 2.7
- name: 🔨 install dependencies & build site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
- name: 🚀 deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site

0 comments on commit 30fc794

Please sign in to comment.