File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 workflow_dispatch : {}
55 push :
66 branches :
7- - " gh-pages"
7+ - gh-pages
88
99permissions :
1010 contents : read
@@ -18,15 +18,12 @@ concurrency:
1818jobs :
1919 build :
2020 runs-on : ubuntu-latest
21-
22- # fix, ensure all run steps happen in repo root
2321 defaults :
2422 run :
25- working-directory : ${{ github.workspace }}
26- shell : bash
23+ working-directory : .
2724
2825 steps :
29- - name : Checkout project- template
26+ - name : Checkout template
3027 uses : actions/checkout@v4
3128 with :
3229 repository : dsb-ifi/project-template
@@ -38,13 +35,10 @@ jobs:
3835 with :
3936 path : contents
4037
41- - name : Merge template and contents (including hidden)
38+ - name : Merge template and contents safely
4239 run : |
43- shopt -s dotglob
44- mv template/* . || true
45- mv template/.[!.]* . || true
46- mv contents/* . || true
47- mv contents/.[!.]* . || true
40+ rsync -av template/ ./
41+ rsync -av contents/ ./
4842
4943 - name : Setup Pages
5044 uses : actions/configure-pages@v5
You can’t perform that action at this time.
0 commit comments