fix substitution
All checks were successful
ci/woodpecker/tag/test Pipeline was successful
ci/woodpecker/tag/docs Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/tag/release Pipeline was successful

This commit is contained in:
FloatingGhost 2022-07-15 14:28:19 +01:00
parent f3d6665ae5
commit 98581002f4

View file

@ -18,6 +18,9 @@ pipeline:
event: event:
- tag - tag
branch: branch:
- develop
- stable
- refs/tags/v*
- refs/tags/test-* - refs/tags/test-*
secrets: secrets:
- SCW_ACCESS_KEY - SCW_ACCESS_KEY
@ -35,7 +38,7 @@ pipeline:
- echo "import Mix.Config" > config/prod.secret.exs - echo "import Mix.Config" > config/prod.secret.exs
- mix local.hex --force - mix local.hex --force
- mix local.rebar --force - mix local.rebar --force
- export BUILD_TAG=$${$CI_COMMIT_TAG:-$CI_COMMIT_BRANCH} - export BUILD_TAG=$${CI_COMMIT_TAG:-"$CI_COMMIT_BRANCH"}
- export PLEROMA_BUILD_BRANCH=$BUILD_TAG - export PLEROMA_BUILD_BRANCH=$BUILD_TAG
- mix deps.clean --all - mix deps.clean --all
- mix deps.get --only prod - mix deps.get --only prod