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/