forked from MapComplete/MapComplete
Add deployment of branches
This commit is contained in:
parent
92563ed2eb
commit
a2bb21214b
1 changed files with 2 additions and 2 deletions
4
.github/workflows/deploy_pietervdvn.yml
vendored
4
.github/workflows/deploy_pietervdvn.yml
vendored
|
@ -44,11 +44,11 @@ jobs:
|
|||
rm -rf pietervdvn.github.io/mc/$TARGET/*
|
||||
mkdir -p pietervdvn.github.io/mc/$TARGET/
|
||||
cp -r dist/* pietervdvn.github.io/mc/$TARGET/
|
||||
cd mapcomplete.github.io/
|
||||
cd pietervdvn.github.io/
|
||||
git add *
|
||||
if git status | grep -q "Changes to be committed"
|
||||
then
|
||||
git commit -am "Deploying a new version"
|
||||
git commit -am "Deploying a new version of mapcomplete"
|
||||
git push
|
||||
else
|
||||
echo "No changes to commit"
|
||||
|
|
Loading…
Reference in a new issue