fix: name

This commit is contained in:
Aravinth Manivannan 2022-08-14 14:47:19 +05:30
parent 2ffb313025
commit 66f855130e
Signed by: realaravinth
GPG key ID: AD9F0F08E855ED88
2 changed files with 8 additions and 8 deletions

View file

@ -107,22 +107,22 @@ jobs:
# MARIA_DATABASE_URL: "${{ env.MARIA_DATABASE_URL }}" # MARIA_DATABASE_URL: "${{ env.MARIA_DATABASE_URL }}"
- name: Login to DockerHub - name: Login to DockerHub
if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/dummyserve' if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/dumbserve'
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
username: realaravinth username: realaravinth
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: publish docker images - name: publish docker images
if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/dummyserve' if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/dumbserve'
run: make docker-publish run: make docker-publish
- name: publish bins - name: publish bins
if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/dummyserve' if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/dumbserve'
run: ./scripts/publish.sh master latest run: ./scripts/publish.sh master latest
- name: generate documentation - name: generate documentation
if: matrix.version == 'stable' && (github.repository == 'realaravinth/dummyserve') if: matrix.version == 'stable' && (github.repository == 'realaravinth/dumbserve')
run: make doc run: make doc
env: env:
POSTGRES_DATABASE_URL: "${{ env.POSTGRES_DATABASE_URL }}" POSTGRES_DATABASE_URL: "${{ env.POSTGRES_DATABASE_URL }}"
@ -131,7 +131,7 @@ jobs:
COMPILED_DATE: "2021-07-21" COMPILED_DATE: "2021-07-21"
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' && github.repository == 'realaravinth/dummyserve') if: matrix.version == 'stable' && (github.ref == 'refs/heads/master' && github.repository == 'realaravinth/dumbserve')
uses: JamesIves/github-pages-deploy-action@3.7.1 uses: JamesIves/github-pages-deploy-action@3.7.1
with: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -16,11 +16,11 @@ doc: ## Generate documentation
cargo doc --no-deps --workspace --all-features cargo doc --no-deps --workspace --all-features
docker: ## Build Docker image docker: ## Build Docker image
docker build -t realaravinth/dummyserve:master -t realaravinth/dummyserve:latest . docker build -t realaravinth/dumbserve:master -t realaravinth/dumbserve:latest .
docker-publish: docker ## Build and publish Docker image docker-publish: docker ## Build and publish Docker image
docker push realaravinth/dummyserve:master docker push realaravinth/dumbserve:master
docker push realaravinth/dummyserve:latest docker push realaravinth/dumbserve:latest
env: ## Setup development environtment env: ## Setup development environtment
cargo fetch cargo fetch