diff --git a/.github/workflows/vercel-preview.yaml b/.github/workflows/vercel-preview.yaml index fbc69e5..d35847b 100644 --- a/.github/workflows/vercel-preview.yaml +++ b/.github/workflows/vercel-preview.yaml @@ -4,8 +4,8 @@ env: VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} on: # Trigger the workflow on push or pull request, - # push: - # branches: [main, stable] + # push: + # branches: [main, stable] pull_request: # These types of PRs types: [opened, synchronize, reopened] @@ -13,6 +13,13 @@ jobs: Deploy-Preview: runs-on: ubuntu-24.04 steps: + - name: "Base requirements" + run: | + # packages + apk update && apk add --no-cache git docker docker-compose nodejs gpg openssh npm ansible + # ansible collections + ansible-galaxy collection install community.general --force + ansible-galaxy collection install ansible.posix --force - uses: actions/checkout@v2 - name: "Install Vercel CLI" run: npm install --global vercel@latest diff --git a/.github/workflows/vercel-production.yaml b/.github/workflows/vercel-production.yaml index dc12a86..88fb3bb 100644 --- a/.github/workflows/vercel-production.yaml +++ b/.github/workflows/vercel-production.yaml @@ -11,6 +11,13 @@ jobs: Deploy-Production: runs-on: ubuntu-24.04 steps: + - name: "Base requirements" + run: | + # packages + apk update && apk add --no-cache git docker docker-compose nodejs gpg openssh npm ansible + # ansible collections + ansible-galaxy collection install community.general --force + ansible-galaxy collection install ansible.posix --force - uses: actions/checkout@v2 - name: "Install Vercel CLI" run: npm install --global vercel@latest