From 73dbc3a0668c6ddf6e4d3d8016d2cc851820576b Mon Sep 17 00:00:00 2001 From: Guoyuyukuo <59609877+guoyuyukuo@users.noreply.github.com> Date: Sat, 25 Jan 2020 03:52:47 +0800 Subject: [PATCH] Create jekyll.yml --- .../jekyll.yml" | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ".github/\345\267\245\344\275\234\346\265\201\347\250\213/jekyll.yml" diff --git "a/.github/\345\267\245\344\275\234\346\265\201\347\250\213/jekyll.yml" "b/.github/\345\267\245\344\275\234\346\265\201\347\250\213/jekyll.yml" new file mode 100644 index 0000000..cc87942 --- /dev/null +++ "b/.github/\345\267\245\344\275\234\346\265\201\347\250\213/jekyll.yml" @@ -0,0 +1,16 @@ +name: Jekyll site CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + - 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 777 /srv/jekyll && jekyll build --future"