- Copy the
deploy.yml
file contents - And create
deploy.yml
file in.github/workflows
folder inside your repo
- Go to the repo
settings
- Then perform following steps that are given in images
- And lastly, select Read and write permissions and hit Save:
Note - Basically, our action is going to modify the repo, so it needs the write permission.
A/c to our requirements generates a GitHub token and add to in Repository secrets
To perform following steps