Fix actions
Some checks failed
Some checks failed
This commit is contained in:
11
.github/workflows/vercel-preview.yaml
vendored
11
.github/workflows/vercel-preview.yaml
vendored
@@ -4,8 +4,8 @@ env:
|
|||||||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow on push or pull request,
|
# Trigger the workflow on push or pull request,
|
||||||
# push:
|
# push:
|
||||||
# branches: [main, stable]
|
# branches: [main, stable]
|
||||||
pull_request:
|
pull_request:
|
||||||
# These types of PRs
|
# These types of PRs
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
@@ -13,6 +13,13 @@ jobs:
|
|||||||
Deploy-Preview:
|
Deploy-Preview:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
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
|
- uses: actions/checkout@v2
|
||||||
- name: "Install Vercel CLI"
|
- name: "Install Vercel CLI"
|
||||||
run: npm install --global vercel@latest
|
run: npm install --global vercel@latest
|
||||||
|
|||||||
7
.github/workflows/vercel-production.yaml
vendored
7
.github/workflows/vercel-production.yaml
vendored
@@ -11,6 +11,13 @@ jobs:
|
|||||||
Deploy-Production:
|
Deploy-Production:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
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
|
- uses: actions/checkout@v2
|
||||||
- name: "Install Vercel CLI"
|
- name: "Install Vercel CLI"
|
||||||
run: npm install --global vercel@latest
|
run: npm install --global vercel@latest
|
||||||
|
|||||||
Reference in New Issue
Block a user