diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-15 14:57:26 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-15 14:57:26 +0300 |
commit | e4dce0bda5e4898063933cf09b0b91cd7e2529a0 (patch) | |
tree | 0c14997c5106eaf390c78449291e766a52b65745 | |
parent | workflows/ci: rename to "CI" (diff) | |
download | jekyll-docker-e4dce0bda5e4898063933cf09b0b91cd7e2529a0.tar.gz jekyll-docker-e4dce0bda5e4898063933cf09b0b91cd7e2529a0.zip |
workflows/ci: lint
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/ci.yml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52c4f66..91e753a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,8 @@ jobs: - name: Checkout Jekyll project uses: actions/checkout@v2 with: - repository: ${{ env.JEKYLL_PROJECT_AUTHOR }}/${{ env.JEKYLL_PROJECT_NAME }} - path: ${{ env.JEKYLL_PROJECT_NAME }} + repository: '${{ env.JEKYLL_PROJECT_AUTHOR }}/${{ env.JEKYLL_PROJECT_NAME }}' + path: '${{ env.JEKYLL_PROJECT_NAME }}' - name: Add ~/.local/bin to PATH run: echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: chruby & ruby-install are not installed @@ -57,6 +57,7 @@ jobs: run: | test -d "$JEKYLL_PROJECT_NAME/_site" test -f "$JEKYLL_PROJECT_NAME/_site/index.html" + docker_build: runs-on: ubuntu-latest name: Docker build @@ -72,8 +73,8 @@ jobs: - name: Checkout Jekyll project uses: actions/checkout@v2 with: - repository: ${{ env.JEKYLL_PROJECT_AUTHOR }}/${{ env.JEKYLL_PROJECT_NAME }} - path: ${{ env.JEKYLL_PROJECT_NAME }} + repository: '${{ env.JEKYLL_PROJECT_AUTHOR }}/${{ env.JEKYLL_PROJECT_NAME }}' + path: '${{ env.JEKYLL_PROJECT_NAME }}' - name: Build Docker images run: make -f src/Makefile docker/build "PROJECT_DIR=$JEKYLL_PROJECT_NAME" - name: _site doesn't exist @@ -113,6 +114,7 @@ jobs: run: curl -sS -D - http://localhost:4000/dummy.txt - name: Stop containers run: make -f src/Makefile docker/down + docker_root_build: runs-on: ubuntu-latest name: Docker build (as root) @@ -128,8 +130,8 @@ jobs: - name: Checkout Jekyll project uses: actions/checkout@v2 with: - repository: ${{ env.JEKYLL_PROJECT_AUTHOR }}/${{ env.JEKYLL_PROJECT_NAME }} - path: ${{ env.JEKYLL_PROJECT_NAME }} + repository: '${{ env.JEKYLL_PROJECT_AUTHOR }}/${{ env.JEKYLL_PROJECT_NAME }}' + path: '${{ env.JEKYLL_PROJECT_NAME }}' - name: Jekyll project is owned by root run: sudo chown -R -- root:root "$JEKYLL_PROJECT_NAME" - name: Build Docker images |