Add extra sync step in deploy script
This commit is contained in:
parent
bf768a9f84
commit
f1f955233b
1 changed files with 7 additions and 0 deletions
7
.github/workflows/deploy_pietervdvn.yml
vendored
7
.github/workflows/deploy_pietervdvn.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue