mirror of
https://github.com/kaka111222333/kaka111222333.github.io.git
synced 2025-12-17 23:34:59 +08:00
Update and rename jekyll-docker.yml to 1
This commit is contained in:
1
.github/workflows/1
vendored
Normal file
1
.github/workflows/1
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
20
.github/workflows/jekyll-docker.yml
vendored
20
.github/workflows/jekyll-docker.yml
vendored
@@ -1,20 +0,0 @@
|
|||||||
name: Jekyll site CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "master" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "master" ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Build the site in the jekyll/builder container
|
|
||||||
run: |
|
|
||||||
docker run \
|
|
||||||
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
|
|
||||||
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"
|
|
||||||
Reference in New Issue
Block a user