diff options
| author | Marc Cornellà <marc@mcornella.com> | 2023-11-30 14:15:21 +0100 |
|---|---|---|
| committer | Marc Cornellà <marc@mcornella.com> | 2023-11-30 14:21:48 +0100 |
| commit | 7a30bcae40dfd19153ad6fc4abd52dfa805dbd03 (patch) | |
| tree | 4e242e1b5fc732599b60ad6765fcf50854dbd4d4 /.github | |
| parent | 418046e9583f635b0303e4b8cf31c356b175cec3 (diff) | |
| download | zsh-7a30bcae40dfd19153ad6fc4abd52dfa805dbd03.tar.gz zsh-7a30bcae40dfd19153ad6fc4abd52dfa805dbd03.tar.bz2 zsh-7a30bcae40dfd19153ad6fc4abd52dfa805dbd03.zip | |
ci(installer): fix token passing and only run on main repo
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/installer.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/installer.yml b/.github/workflows/installer.yml index a70c483d1..cad5d445b 100644 --- a/.github/workflows/installer.yml +++ b/.github/workflows/installer.yml @@ -17,6 +17,7 @@ permissions: jobs: test: name: Test installer + if: github.repository == 'ohmyzsh/ohmyzsh' runs-on: ${{ matrix.os }} strategy: matrix: @@ -48,7 +49,8 @@ jobs: env: VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} + VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} run: | cp tools/install.sh .github/workflows/installer/install.sh cd .github/workflows/installer - vc deploy --prod -t ${{ secrets.VERCEL_TOKEN }} + vc deploy --prod -t "$VERCEL_TOKEN" |
