mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Add GitHub Action to build and deploy website
This commit is contained in:
parent
09624340ec
commit
d89f76ff46
1 changed files with 21 additions and 0 deletions
21
.github/workflows/ghpages.yml
vendored
Normal file
21
.github/workflows/ghpages.yml
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
name: Build and deploy site to GitHub Pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
github-pages:
|
||||
runs-on: ubuntu-16.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/cache@v1
|
||||
with:
|
||||
path: vendor/bundle
|
||||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gems-
|
||||
- uses: helaili/jekyll-action@2.0.1
|
||||
env:
|
||||
JEKYLL_PAT: ${{ secrets.JEKYLL_PAT }}
|
||||
with:
|
||||
jekyll_src: 'docs'
|
||||
Loading…
Add table
Add a link
Reference in a new issue