feat: conditional prodiction dep

This commit is contained in:
TrèsAbhi committed 2024-02-21 09:54:58 -06:00
1 parent 569f803ab2
commit c16a5f1701
2 files changed
+10 -3

No files matched your search

+8 -1
View File
@@ -42,4 +42,11 @@ jobs:
run: ./temp/depotDownloader/DepotDownloader.exe -app 444200 -username ${{ secrets.DEPOT_DOWNLOADER_USERNAME }} -password "${{ secrets.DEPOT_DOWNLOADER_PASSWORD }}"
- name: Build assets
run: $env:GH_TOKEN = "${{ secrets.GH_TOKEN }}"; $env:DISCORD_TOKEN = "${{ secrets.DISCORD_TOKEN }}"; yarn build:assets --all-targets --depot
run: |
$env:GH_TOKEN = "${{ secrets.GH_TOKEN }}"
$env:DISCORD_TOKEN = "${{ secrets.DISCORD_TOKEN }}"
if [ "{{ github.ref }}" = "refs/heads/main" ]; then
yarn build:assets --all-targets --depot --production
else
yarn build:assets --all-targets --depot
fi