fix: when in doubt, sudo? (#54266)
parent
fe615be569
commit
522977ec1c
|
@ -364,7 +364,7 @@ jobs:
|
|||
# We do not need to run tests because they are run after the PR is created.
|
||||
|
||||
- name: Overwrite Execute-Brain.md
|
||||
run: tools/scripts/move-bf.sh
|
||||
run: sudo tools/scripts/move-bf.sh
|
||||
|
||||
# Create Commit
|
||||
- name: Commit Changes
|
||||
|
|
|
@ -9,5 +9,5 @@ destination_dir="curriculum/challenges"
|
|||
# Loop through all directories except _meta and english
|
||||
for dir in $(find "$destination_dir" -mindepth 1 -maxdepth 1 -type d ! -name '_meta' ! -name 'english'); do
|
||||
# Copy the file to each directory
|
||||
cp "$source_file" "$dir/22-rosetta-code/rosetta-code-challenges/"
|
||||
cp "./$source_file" "./$dir/22-rosetta-code/rosetta-code-challenges/"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue