Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Check for secret key before nightly builds (#1375)

Meisamd05d0bf7a2f1
diff --git a/.github/workflows/docker-nightly.yaml b/.github/workflows/docker-nightly.yaml
index f00fcaeb0c..d9203a5a78 100644
--- a/.github/workflows/docker-nightly.yaml
+++ b/.github/workflows/docker-nightly.yaml
@@ -10,8 +10,14 @@ jobs:
steps:
- name: Log into GitHub Container Registry
+ env:
+ GH_CR_PAT: ${{ secrets.GH_CR_PAT }}
run: echo "${{ secrets.GH_CR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
+ if: env.GH_CR_PAT != null
- uses: actions/checkout@v2
- name: Setup and run
- run: cd build/release && ./docker-nightly.sh
\ No newline at end of file
+ env:
+ GH_CR_PAT: ${{ secrets.GH_CR_PAT }}
+ run: cd build/release && ./docker-nightly.sh
+ if: env.GH_CR_PAT != null