mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-16 22:13:48 -06:00
Rename workflow & stages
This commit is contained in:
13
.github/workflows/gh-pages.yml
vendored
13
.github/workflows/gh-pages.yml
vendored
@@ -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'
|
||||||
Reference in New Issue
Block a user