Skip to content

Add CI/CD

Add CI/CD #23

Workflow file for this run

name: CI/CD Pipeline
on:
pull_request:
push:
branches:
- main
- dev
permissions:
id-token: write
contents: read
deployments: write
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Check Out Code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Run Checks
uses: ./.github/actions/check
test:
runs-on: ubuntu-latest
steps:
- name: Check Out Code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Run Tests
uses: ./.github/actions/test
deploy:
runs-on: ubuntu-latest
needs:
- check
- test
steps:
- name: Check Out Code
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Deploy App
uses: ./.github/actions/deploy
with:
cloudflare_api_token: ${{ secrets.CLOUDFLARE_API_TOKEN }}