Add extra sync step in deploy script

This commit is contained in:
pietervdvn 2021-11-04 22:22:26 +01:00
parent bf768a9f84
commit f1f955233b

View file

@ -37,6 +37,13 @@ jobs:
git clone --depth 1 --single-branch --branch master "https://x-access-token:$DEPLOY_KEY_PIETERVDVN@github.com/pietervdvn/pietervdvn.github.io.git"
echo "Destination repo is cloned"
- name: Sync repo
env:
DEPLOY_KEY_PIETERVDVN: ${{ secrets.DEPLOY_KEY_PIETERVDVN }}
run: |
cd pietervdvn.github.io
git pull
- name: "Copying files"
run: |
echo "Deploying"