Add prettier and small fix

This commit is contained in:
Ayaz Salikhov
2021-05-19 12:58:07 +03:00
parent 57c360e485
commit dc3c44a080
2 changed files with 5 additions and 1 deletions

View File

@@ -36,3 +36,7 @@ repos:
hooks:
- id: markdownlint
args: ["--fix"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.3.0
hooks:
- id: prettier

View File

@@ -133,7 +133,7 @@ you merge a GitHub pull request to the master branch of your project.
14. Click on the **Secrets** section and then on the **New repository secret** button on the top right corner (see image above).
15. Create a **DOCKERHUB_TOKEN** secret and paste the Personal Access Token from DockerHub in the **value** field.
![GitHub create secret token screenshot](../_static/github-secret-token.png)
16. Repeat the above step but creating a **DOCKERHUB_USERNAME** and replacing the *value* field with your DockerHub username. Once you have completed these steps, your repository secrets section should look something like this:
16. Repeat the above step but creating a **DOCKERHUB_USERNAME** and replacing the _value_ field with your DockerHub username. Once you have completed these steps, your repository secrets section should look something like this:
![GitHub repository secrets created screenshot](../_static/github-secrets-completed.png)
## Defining Your Image