mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-26 08:03:56 -05:00
fix: when in doubt, sudo? (#54266)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user