workflow
This commit is contained in:
parent
e3244c5e5e
commit
d7ff607fbd
1 changed files with 5 additions and 2 deletions
|
@ -9,14 +9,17 @@ jobs:
|
|||
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.
|
||||
- name: Get changed files
|
||||
id: changed-files
|
||||
uses: https://github.com/tj-actions/changed-files@v42
|
||||
uses: https://github.com/tj-actions/changed-files@v45
|
||||
- name: Update website
|
||||
env:
|
||||
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
if: ${{ secrets.WEB != '' }}
|
||||
run: |
|
||||
git clone --recursive https://rvba:${{ secrets.WEB }}@git.forgeons.org/rvba/web
|
||||
echo "Cloning"
|
||||
git clone https://rvba:${{ secrets.WEB }}@git.forgeons.org/rvba/web
|
||||
echo "Cd"
|
||||
cd web
|
||||
echo "Config"
|
||||
git config user.email "ci@git.forgeons.org" ; git config user.name "forgeons-web"
|
||||
cd scripts
|
||||
for file in ${ALL_CHANGED_FILES}; do
|
||||
|
|
Loading…
Reference in a new issue