forked from MapComplete/MapComplete
Add deployment of branches
This commit is contained in:
parent
a25b05de67
commit
73736cc4a7
1 changed files with 3 additions and 1 deletions
4
.github/workflows/deploy_pietervdvn.yml
vendored
4
.github/workflows/deploy_pietervdvn.yml
vendored
|
|
@ -41,7 +41,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "Deploying"
|
echo "Deploying"
|
||||||
rm -rf pietervdvn.github.io/mc/$GITHUB_REF/*
|
rm -rf pietervdvn.github.io/mc/$GITHUB_REF/*
|
||||||
cp -r dist/* pietervdvn.github.io/mc/$GITHUB_REF/
|
TARGET=${$GITHUB_REF:11}
|
||||||
|
mkdir -p pietervdvn.github.io/mc/$TARGET/
|
||||||
|
cp -r dist/* pietervdvn.github.io/mc/$TARGET/
|
||||||
cd mapcomplete.github.io/
|
cd mapcomplete.github.io/
|
||||||
git add *
|
git add *
|
||||||
if git status | grep -q "Changes to be committed"
|
if git status | grep -q "Changes to be committed"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue