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:
2929 run : |
3030 set -x
3131 env
32- export PUB_PATH=$(basename $GITHUB_REF)
3332 git clone --depth=1 git@github.com:linux-kernel-labs/linux-kernel-labs.github.io.git
3433 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
3837 git config --global user.email "github.actions@linux-kernel-labs.gihub.io"
3938 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"
4241 git push
You can’t perform that action at this time.
0 commit comments