Skip to content

Commit c0d8938

Browse files
author
admond
authored
Create dev-workflow.yaml
1 parent 2be1063 commit c0d8938

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches:
5+
- dev
6+
jobs:
7+
publish:
8+
runs-on: self-hosted
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
- name: Make envfile
13+
uses: SpicyPizza/create-envfile@v2.0.2
14+
with:
15+
envkey_NEXT_PUBLIC_BASE_URL: ${{ secrets.DEV_NEXT_PUBLIC_BASE_URL }}
16+
- name: Build docker images
17+
run: docker build -t ird-web:dev --target=runner .
18+
- name: Deploy
19+
run: /home/ubuntu/dev_app/deploy-front.sh

0 commit comments

Comments
 (0)