fix: name
This commit is contained in:
parent
2ffb313025
commit
66f855130e
2 changed files with 8 additions and 8 deletions
10
.github/workflows/linux.yml
vendored
10
.github/workflows/linux.yml
vendored
|
@ -107,22 +107,22 @@ jobs:
|
|||
# MARIA_DATABASE_URL: "${{ env.MARIA_DATABASE_URL }}"
|
||||
|
||||
- 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
|
||||
with:
|
||||
username: realaravinth
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- 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
|
||||
|
||||
- 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
|
||||
|
||||
- name: generate documentation
|
||||
if: matrix.version == 'stable' && (github.repository == 'realaravinth/dummyserve')
|
||||
if: matrix.version == 'stable' && (github.repository == 'realaravinth/dumbserve')
|
||||
run: make doc
|
||||
env:
|
||||
POSTGRES_DATABASE_URL: "${{ env.POSTGRES_DATABASE_URL }}"
|
||||
|
@ -131,7 +131,7 @@ jobs:
|
|||
COMPILED_DATE: "2021-07-21"
|
||||
|
||||
- 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
|
||||
with:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
6
Makefile
6
Makefile
|
@ -16,11 +16,11 @@ doc: ## Generate documentation
|
|||
cargo doc --no-deps --workspace --all-features
|
||||
|
||||
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 push realaravinth/dummyserve:master
|
||||
docker push realaravinth/dummyserve:latest
|
||||
docker push realaravinth/dumbserve:master
|
||||
docker push realaravinth/dumbserve:latest
|
||||
|
||||
env: ## Setup development environtment
|
||||
cargo fetch
|
||||
|
|
Loading…
Reference in a new issue