Rename workflow & stages

This commit is contained in:
Xevion
2022-09-20 18:06:18 -05:00
parent 025cea155b
commit e06150ccf7

View File

@@ -1,4 +1,4 @@
name: Build and deploy Jekyll site to GitHub Pages name: Build and Deploy
on: on:
push: push:
@@ -9,14 +9,19 @@ jobs:
github-pages: github-pages:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Checkout Source
- uses: actions/cache@v2 uses: actions/checkout@v2
with:
ref: master
- name: Cache dependencies
uses: actions/cache@v2
with: with:
path: vendor/bundle path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }} key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: | restore-keys: |
${{ runner.os }}-gems- ${{ runner.os }}-gems-
- uses: helaili/jekyll-action@v2 - name: Build and Publish
uses: helaili/jekyll-action@v2
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}
target_branch: 'gh-pages' target_branch: 'gh-pages'