File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -29,14 +29,13 @@ jobs:
29
29
run : |
30
30
set -x
31
31
env
32
- export PUB_PATH=$(basename $GITHUB_REF)
33
32
git clone --depth=1 [email protected] :linux-kernel-labs/linux-kernel-labs.github.io.git
34
33
cd linux-kernel-labs.github.io
35
- rm -rf $PUB_PATH
36
- mkdir -p $PUB_PATH
37
- cp -r ../Documentation/output/teaching/* $PUB_PATH/
34
+ rm -rf $GITHUB_REF
35
+ mkdir -p $GITHUB_REF
36
+ cp -r ../Documentation/output/teaching/* $GITHUB_REF
38
37
git config --global user.email "[email protected] "
39
38
git config --global user.name "GitHub Actions"
40
- git add $PUB_PATH
41
- git commit --allow-empty -m "Publish $PUB_PATH (built from linux-kernel-labs/linux/$ GITHUB_REF) "
39
+ git add $GITHUB_REF
40
+ git commit --allow-empty -m "Publish $GITHUB_REF"
42
41
git push
You can’t perform that action at this time.
0 commit comments