name: My blog's CI

on:
  push:
    branches:
    - master

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 }}:. -v ${{ github.workspace }}/_site:./_site \
        jekyll/builder:latest /bin/bash -c "jekyll build --future"

name: My blog's CI

on:
  push:
    branches:
    - master

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"

Revert "Remove the chmod command and change the directory where the build command is executed."
Revert "Remove the chmod command and change the directory where the build command is executed."

This reverts commit c9cdd301179513ce03a7fc66e2b48c494c6568c9.
