Skip to content

Commit

Permalink
Rename markdown file and add preliminary sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
tcompa committed Dec 11, 2024
1 parent 5e47010 commit f012f3d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ jobs:
run: |
CURRENT_DATE=$(date +"%Y-%m-%d %H:%M %Z")
echo "$CURRENT_DATE"
sed -i'.bak1' "s/LASTUPDATEDPLACEHOLDER/$CURRENT_DATE/" site/available_tasks/index.html
sed -i'.bak2' "s/FRACTALWEBREFERENCEPLACEHOLDER/${{ env.FRACTAL_WEB_REFERENCE }}/" site/available_tasks/index.html
rm site/available_tasks/index.html.bak1 site/available_tasks/index.html.bak2
sed -i'.bak1' "s/LASTUPDATEDPLACEHOLDER/$CURRENT_DATE/" site/fractal_tasks/index.html
sed -i'.bak2' "s/FRACTALWEBREFERENCEPLACEHOLDER/${{ env.FRACTAL_WEB_REFERENCE }}/" site/fractal_tasks/index.html
rm site/fractal_tasks/index.html.bak1 site/fractal_tasks/index.html.bak2
- run: ls -lh site/*

Expand Down
2 changes: 2 additions & 0 deletions docs/fractal_tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ hide:
}
</style>

Here is a list of task packages which can be used in Fractal (note that not all existing packages are currently listed).

<iframe src="../task-table/" class="tasks-iframe">
</iframe>

Expand Down
8 changes: 4 additions & 4 deletions tools/full_local_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ npm run build
cp -r build "$CURRENT_DIR/site/task-table"

CURRENT_DATE=$(date +"%Y-%m-%d %H:%M %Z")
sed -i'.bak1' "s/LASTUPDATEDPLACEHOLDER/$CURRENT_DATE/" "$CURRENT_DIR/site/available_tasks/index.html"
sed -i'.bak2' "s/FRACTALWEBREFERENCEPLACEHOLDER/$FRACTAL_WEB_REFERENCE/" "$CURRENT_DIR/site/available_tasks/index.html"
rm "$CURRENT_DIR/site/available_tasks/index.html.bak1"
rm "$CURRENT_DIR/site/available_tasks/index.html.bak2"
sed -i'.bak1' "s/LASTUPDATEDPLACEHOLDER/$CURRENT_DATE/" "$CURRENT_DIR/site/fractal_tasks/index.html"
sed -i'.bak2' "s/FRACTALWEBREFERENCEPLACEHOLDER/$FRACTAL_WEB_REFERENCE/" "$CURRENT_DIR/site/fractal_tasks/index.html"
rm "$CURRENT_DIR/site/fractal_tasks/index.html.bak1"
rm "$CURRENT_DIR/site/fractal_tasks/index.html.bak2"


deactivate
Expand Down

0 comments on commit f012f3d

Please sign in to comment.