diff --git a/.github/workflows/profio-api.yml b/.github/workflows/api.yml similarity index 87% rename from .github/workflows/profio-api.yml rename to .github/workflows/api.yml index 917c48e1..c6335aac 100644 --- a/.github/workflows/profio-api.yml +++ b/.github/workflows/api.yml @@ -1,4 +1,4 @@ -name: Publish Profio Api +name: Publish Api on: push: @@ -8,7 +8,7 @@ on: paths: - 'apps/Profio.Api/**' - 'libs/**' - - '.github/workflows/profio-api.yml' + - '.github/workflows/api.yml' pull_request: branches: [ stg ] @@ -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 }} diff --git a/.github/workflows/cms.yml b/.github/workflows/cms.yml new file mode 100644 index 00000000..a2733f4f --- /dev/null +++ b/.github/workflows/cms.yml @@ -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 diff --git a/.github/workflows/proxy.yml b/.github/workflows/proxy.yml index 97d4d12e..f3f60fac 100644 --- a/.github/workflows/proxy.yml +++ b/.github/workflows/proxy.yml @@ -8,7 +8,7 @@ on: paths: - 'apps/Profio.Proxy/**' - 'libs/**' - - '.github/workflows/profio-api.yml' + - '.github/workflows/proxy.yml' pull_request: branches: [ stg ] @@ -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 diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml new file mode 100644 index 00000000..55e5d54c --- /dev/null +++ b/.github/workflows/website.yml @@ -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 diff --git a/assets/slides/city-presentation.pdf b/assets/slides/city-presentation.pdf new file mode 100644 index 00000000..26e6dcff Binary files /dev/null and b/assets/slides/city-presentation.pdf differ diff --git a/assets/slides/project-proposal.pdf b/assets/slides/project-proposal.pdf new file mode 100644 index 00000000..5a38d5ec Binary files /dev/null and b/assets/slides/project-proposal.pdf differ