2023-10-20 10:08:58 +02:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
|
2023-10-20 09:29:31 +02:00
|
|
|
jobs:
|
2023-10-20 09:36:00 +02:00
|
|
|
synchro:
|
2023-10-20 09:29:31 +02:00
|
|
|
runs-on: linux_amd64
|
|
|
|
steps:
|
2023-10-20 09:49:43 +02:00
|
|
|
- name: List files in the repository
|
2023-10-20 10:08:58 +02:00
|
|
|
shell: bash
|
2023-10-20 09:49:43 +02:00
|
|
|
run: |
|
|
|
|
echo Sync files with server
|
2023-10-20 10:08:58 +02:00
|
|
|
echo "We are in $PWD"
|
2023-10-20 10:47:49 +02:00
|
|
|
git clone ${{ gitea.server_url }}/${{ gitea.repository }}
|
2023-10-20 10:14:40 +02:00
|
|
|
echo "We have : $(ls -lta)"
|
2023-10-20 09:55:57 +02:00
|
|
|
- run: echo "Job ended with status '${{ job.status }}'."
|