From aa3a6cdf9ebc722f82678d1fae6ce985f09a787d Mon Sep 17 00:00:00 2001 From: Robert Wagner Date: Thu, 5 Dec 2024 20:48:09 -0500 Subject: [PATCH] Trying moving things around --- .github/workflows/addon-docs.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/addon-docs.yml b/.github/workflows/addon-docs.yml index c23d1da0..76f700a3 100644 --- a/.github/workflows/addon-docs.yml +++ b/.github/workflows/addon-docs.yml @@ -15,17 +15,8 @@ jobs: steps: - uses: actions/checkout@v4 with: - fetch-tags: true + fetch-depth: 0 token: ${{ secrets.GITHUB_TOKEN }} - - uses: pnpm/action-setup@v4 - with: - version: 9 - - uses: actions/setup-node@v4 - with: - node-version: 18 - cache: pnpm - - name: Install Dependencies - run: pnpm install --no-lockfile - name: Check for tags id: check-tags run: | @@ -38,7 +29,16 @@ jobs: echo "has_tag=false" >> $GITHUB_ENV else echo "has_tag=true" >> $GITHUB_ENV - fi + fi + - uses: pnpm/action-setup@v4 + with: + version: 9 + - uses: actions/setup-node@v4 + with: + node-version: 18 + cache: pnpm + - name: Install Dependencies + run: pnpm install --no-lockfile - name: Deploy Docs if: env.has_tag == 'false' || (env.has_tag == 'true' && !startsWith(github.ref, 'refs/heads/main')) run: pnpm ember deploy production \ No newline at end of file