This repository has been archived by the owner on Dec 31, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e08da63
commit 954c2bd
Showing
6 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.