test new jekyll action

This commit is contained in:
⧉ infominer 2022-11-26 20:08:22 -05:00
parent e6da8fb457
commit 6290ffafa9
2 changed files with 24 additions and 17 deletions

24
.github/workflows/github-pages.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Build and deploy Jekyll site to GitHub Pages
on:
push:
branches:
- master
paths-ignore:
- '_data/**'
- '.github/workflows/twitter.yml'
jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
- uses: helaili/jekyll-action@2.0.5 # Choose any one of the Jekyll Actions
with: # Some relative inputs of your action
token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,17 +0,0 @@
name: Build and deploy Jekyll site to GitHub Pages
on:
push:
branches:
- master
paths-ignore:
- '_data/**'
- '.github/workflows/twitter.yml'
jobs:
github-pages:
runs-on: ubuntu-16.04
steps:
- uses: actions/checkout@v2
- uses: helaili/jekyll-action@2.0.1
env:
JEKYLL_PAT: ${{ secrets.JEKYLL_PAT }}