Skip to content
This repository has been archived by the owner on Sep 1, 2024. It is now read-only.

Commit

Permalink
Set up environment variables properly
Browse files Browse the repository at this point in the history
  • Loading branch information
OdedItkinOW committed May 7, 2024
1 parent e4fa3ef commit 29cea40
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ jobs:
run: |
git submodule sync
git submodule update --init
- name: Set Environment Variables
run: |
echo "GIT_USER=DevPlatBot" >> "$GITHUB_ENV"
echo "CURRENT_BRANCH=source" >> "$GITHUB_ENV"
- name: Deploying to GitHub Pages
run: |
git config --global user.email "devplatformbots@overwolf.com"
git config --global user.name "DevPlatBot"
yarn install --frozen-lockfile && GIT_USER=DevPlatBot CURRENT_BRANCH=source && yarn deploy
yarn install --immutable && yarn deploy

0 comments on commit 29cea40

Please sign in to comment.