From 5f16b7e2a14b509566ba2558d64d8829a79097a1 Mon Sep 17 00:00:00 2001 From: Freekkettone Date: Fri, 14 Nov 2025 03:02:53 +0100 Subject: [PATCH] workflow di copia files per forgejo action --- .forgejo/workflows/graph-updater.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .forgejo/workflows/graph-updater.yml diff --git a/.forgejo/workflows/graph-updater.yml b/.forgejo/workflows/graph-updater.yml new file mode 100644 index 0000000..b1f368d --- /dev/null +++ b/.forgejo/workflows/graph-updater.yml @@ -0,0 +1,21 @@ +name: Updates the graph by copying the updated files in the rigth directory + +on: + push: + branches: + - main + +jobs: + build-and-deploy: + runs-on: usainbolt + steps: + + # 1. Checkout del codice (scarica la repo usando checkout@v4: un insieme di comandi prefatto) + - name: Checkout repository + uses: actions/checkout@v4 + + # 2. Copia dei files da public in var/www/... + - name: + run: | + cp -r public/* /var/www/miniera.hackinpovo.it/html/ +