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/*
|
rm -rf pietervdvn.github.io/mc/$TARGET/*
|
||||||
mkdir -p pietervdvn.github.io/mc/$TARGET/
|
mkdir -p pietervdvn.github.io/mc/$TARGET/
|
||||||
cp -r dist/* pietervdvn.github.io/mc/$TARGET/
|
cp -r dist/* pietervdvn.github.io/mc/$TARGET/
|
||||||
cd mapcomplete.github.io/
|
cd pietervdvn.github.io/
|
||||||
git add *
|
git add *
|
||||||
if git status | grep -q "Changes to be committed"
|
if git status | grep -q "Changes to be committed"
|
||||||
then
|
then
|
||||||
git commit -am "Deploying a new version"
|
git commit -am "Deploying a new version of mapcomplete"
|
||||||
git push
|
git push
|
||||||
else
|
else
|
||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue