Skip to content

feat: butt.png more attractive (#21) #67

feat: butt.png more attractive (#21)

feat: butt.png more attractive (#21) #67

Workflow file for this run

on:
push:
branches:
- production
paths-ignore:
- '**.md'
- '**.*ignore'
- renovate.json
- '**integration.yaml'
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
TF_CLOUD_ORGANIZATION: ${{ secrets.TF_CLOUD_ORGANIZATION }}
TF_VAR_cloudflare_api_token: ${{ secrets.TF_VAR_CLOUDFLARE_API_TOKEN }}
jobs:
deployment:
name: Deploy to production
runs-on: ubuntu-22.04
permissions: read-all
steps:
- name: Checkout repository
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
with:
fetch-depth: 0
- name: Setup Terraform
uses: hashicorp/[email protected]
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
- name: Setup pnpm
uses: pnpm/[email protected]
- name: Set Nx SHAs
uses: nrwl/nx-set-shas@v3
with:
main-branch-name: production
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build affected projects
run: pnpm affected:build
- name: Provision infrastructure
run: terraform init && terraform apply -auto-approve
- name: Deploy affected projects
run: pnpm affected:deploy