Implement Jekyll CI workflow with docker #2
|
@ -1,6 +1,7 @@
|
||||||
name: Jekyll
|
name: Jekyll
|
||||||
run-name: ${{ gitea.actor }} is running some Gitea Actions 🚀
|
on:
|
||||||
on: [push]
|
push:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
_UID: 1000
|
_UID: 1000
|
||||||
|
@ -9,11 +10,11 @@ jobs:
|
||||||
jekyll:
|
jekyll:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository
|
||||||
id: checkout
|
id: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Fix file permissions
|
- name: Change file ownership
|
||||||
id: fix_permissions
|
id: file_ownership
|
||||||
run: |
|
run: |
|
||||||
chown -R ${_UID}:${_GID} .
|
chown -R ${_UID}:${_GID} .
|
||||||
- name: Install docker
|
- name: Install docker
|
||||||
|
|
Loading…
Reference in New Issue