workflow di copia files per forgejo action
Some checks failed
Updates the graph by copying the updated files in the rigth directory / build-and-deploy (push) Failing after 4s
Some checks failed
Updates the graph by copying the updated files in the rigth directory / build-and-deploy (push) Failing after 4s
This commit is contained in:
parent
7385b11133
commit
5f16b7e2a1
1 changed files with 21 additions and 0 deletions
21
.forgejo/workflows/graph-updater.yml
Normal file
21
.forgejo/workflows/graph-updater.yml
Normal file
|
|
@ -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/
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue