-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (38 loc) · 979 Bytes
/
ci_dev.yml
File metadata and controls
43 lines (38 loc) · 979 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: "CI - Build and push with reusable workflow (Development)"
on:
push:
branches: [dev]
paths:
- ./**
- .github/workflows/ci_dev.yml
pull_request:
branches: [dev]
paths:
- ./**
- .github/workflows/ci_dev.yml
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
permissions:
contents: read
packages: write
uses: TIHLDE/tihlde-workflows/.github/workflows/_ci_ghcr.yml@v1
with:
tag-prefix: dev
push: ${{ github.event_name != 'pull_request' }}
build-args: |
NEXT_PUBLIC_ALLOWED_GROUP_SLUGS=drift,index
deploy:
needs: build
if: github.event_name != 'pull_request'
uses: TIHLDE/tihlde-workflows/.github/workflows/_notify_deploy.yml@v1.1.3
with:
tag: dev
environment: dev
secrets:
DEPLOY_RECEIVER_TOKEN: ${{ secrets.DEPLOY_RECEIVER_TOKEN }}