BeyondCodeBootcamp / BeyondCodeBootcamp/bliss-template

More Automation

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
8
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Can we turn on GitHub Pages automatically? **No**
- https://docs.github.com/en/rest/reference/repos#create-a-github-pages-site
```bash
curl -s -X POST https://api.github.com/repos/"${GH_OWNER}/${GIT_REPO}"/pages \
${my_basic_header} \
-H "Accept: application/vnd.github.switcheroo-preview+json" \
-d '{"source":{"branch":"gh-pages","path":""}}'
```

Can we update the About > Homepage? **No**
- https://docs.github.com/en/rest/reference/repos#update-a-repository
```bash
curl -s -X PATCH https://api.github.com/repos/"${GH_OWNER}/${GIT_REPO}" \
"${my_basic_header}" \
-H "Accept: application/vnd.github.v3+json" \
-H "Content-Type: application/json" \
-d '{ "homepage": "https://'"${GH_OWNER}"'.github.io/'"${GIT_REPO}"'" }'
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.