-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
154 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
#=========================================== (Render site Locally) ================================================# | ||
|
||
# ====== Font Awesome Extension for Quarto | ||
quarto add quarto-ext/fontawesome # https://github.com/quarto-ext/fontawesome#readme | ||
#quarto install extension shafayetShafee/bsicons # https://icons.getbootstrap.com/#icons | ||
quarto install extension schochastics/academicons # https://jpswalsh.github.io/academicons/ | ||
#quarto add mcanouil/quarto-iconify | ||
|
||
# ====== RENDER the entire site | ||
# quarto preview | ||
quarto preview | ||
|
||
# ====== RENDER the entire site | ||
quarto render | ||
|
||
# render a single file only | ||
project: | ||
render: | ||
- section1.qmd | ||
- section2.qmd | ||
- "*.qmd" | ||
- "!ignored.qmd" | ||
- "!ignored-dir/" | ||
|
||
# ====== PUBLISH | ||
# quarto publish # quasto stronzo mi crea la git branch "gh-pages" --> FIX delete branch | ||
#git branch -d branch_to_delete # { not allowed IF I am on it} | ||
#git branch -D branch_to_delete # { -D if you have changes that are not merged and STILL delete} | ||
|
||
#=========================================== (Push to Github repo) ================================================# | ||
cd . | ||
|
||
# check status | ||
git status | ||
|
||
# Add changes to git Index. | ||
git add -A # ALL | ||
git add -u # tracked | ||
|
||
git add cv/* | ||
git add images/* | ||
git add docs/* | ||
git add posts/* | ||
git add writings/ | ||
git add README* | ||
git add _extensions/ | ||
======= | ||
# Create Std commit "message".... | ||
msg="rebuilt on `date`" | ||
if [ $# -eq 1 ] | ||
then msg="$1" | ||
fi | ||
# ... Commit Those changes. | ||
git commit -m "$msg" | ||
======= | ||
|
||
git commit -m "WTF .Rproj" | ||
git commit -m "added _variables.yml & cgd tools/01_git.qmd 🙌" | ||
# git commit -m "revision INSTALL + cleanup slides 2" -m "01_... + 00_carico_tab-contesto.qmd " | ||
|
||
# Push local source (master branch) to remote reference (origin) | ||
#cd . | ||
git push origin master | ||
|
||
#=========================================== ALL IN ONE ================================================# | ||
git add -u && git commit -a -m "Google analytics" && git push | ||
|
||
#=========================================== FIle pubblico ================================================# | ||
# https://quarto.org/docs/publishing/quarto-pub.html | ||
# from ./ | ||
cd . | ||
quarto publish quarto-pub 10_Validazione.qmd # Published at https://lulliter.quarto.pub/validazione-dati-in-regis/ | ||
#-->>>>>>> (dare ENTER x farlo partire) | ||
|
||
# ====== Run Script that copies things | ||
# PRIMA CHIUDO TUTTO WORD | ||
Rscript R/salvo_output_li.R | ||
|
||
|
||
#=========================================== (IGNORE a file accidentally committed in the past) ================================================# | ||
# add .env file to .gitignore | ||
echo "accident.txt" >> .gitignore | ||
# tell Git NOT to track this file (it gets removed from the index, but stays local system) | ||
git rm --writings/zzzz_old/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.