Skip to content

Commit

Permalink
Revert temporary bbm deploy adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanLiviuVarzaru authored Nov 29, 2024
1 parent a45b130 commit d2bde09
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/bbm_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,18 @@ jobs:
echo "GitHub Repository is ${{ github.repository }}"
echo "GitHub Event Name is ${{ github.event_name }}"
# DEV environment
if [[ ${{ github.repository }} == 'MariaDB/buildbot' ]] && \
[[ ${{ github.ref }} == 'refs/heads/dev' ]]; then
echo "DEPLOY=true" >>$GITHUB_ENV
echo "BB_ENV=DEV" >>$GITHUB_ENV
echo "DEPLOY_PATH=/srv/dev" >>$GITHUB_ENV
echo "ENV_FILE=.env.dev" >>$GITHUB_ENV
fi
# PROD environment
if [[ ${{ github.repository }} == 'MariaDB/buildbot' ]] && \
[[ ${{ github.ref }} == 'refs/heads/main' ]] && \
[[ ${{ github.event_name }} == 'workflow_dispatch' ]]; then
echo "DEPLOY=true" >>$GITHUB_ENV
echo "BB_ENV=PROD" >>$GITHUB_ENV
Expand Down

0 comments on commit d2bde09

Please sign in to comment.