Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
update yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
foxminchan committed Sep 30, 2023
1 parent e08da63 commit 954c2bd
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Profio Api
name: Publish Api

on:
push:
Expand All @@ -8,7 +8,7 @@ on:
paths:
- 'apps/Profio.Api/**'
- 'libs/**'
- '.github/workflows/profio-api.yml'
- '.github/workflows/api.yml'
pull_request:
branches: [ stg ]

Expand All @@ -27,7 +27,7 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.TOKEN }}
- name: Build the profio-api image
- name: Build the api image
run: |
echo ${{ github.repository_owner }}
echo ${{ secrets.TOKEN }}
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/cms.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish CMS

on:
push:
branches:
- main
- stg
paths:
- 'apps/cms/**'
- '.github/workflows/cms.yml'
pull_request:
branches: [ stg ]

permissions: read-all

jobs:
build-docker:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.TOKEN }}
- name: Build the cms image
run: |
docker build -f apps/cms/Dockerfile . --tag ghcr.io/hutechcj/profio-cms:latest
docker push ghcr.io/hutechcj/profio-cms:latest
4 changes: 2 additions & 2 deletions .github/workflows/proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
paths:
- 'apps/Profio.Proxy/**'
- 'libs/**'
- '.github/workflows/profio-api.yml'
- '.github/workflows/proxy.yml'
pull_request:
branches: [ stg ]

Expand All @@ -27,7 +27,7 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.TOKEN }}
- name: Build the profio-api image
- name: Build the proxy image
run: |
docker build -f apps/Profio.Proxy/Dockerfile . --tag ghcr.io/hutechcj/profio-proxy:latest
docker push ghcr.io/hutechcj/profio-proxy:latest
33 changes: 33 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish Website

on:
push:
branches:
- main
- stg
paths:
- 'apps/Profio.Website/**'
- 'libs/**'
- '.github/workflows/website.yml'
pull_request:
branches: [ stg ]

permissions: read-all

jobs:
build-docker:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.TOKEN }}
- name: Build the website image
run: |
docker build -f apps/Profio.Website/Dockerfile . --tag ghcr.io/hutechcj/profio-website:latest
docker push ghcr.io/hutechcj/profio-website:latest
Binary file added assets/slides/city-presentation.pdf
Binary file not shown.
Binary file added assets/slides/project-proposal.pdf
Binary file not shown.

0 comments on commit 954c2bd

Please sign in to comment.