diff options
author | 2022-08-01 10:18:27 +0300 | |
---|---|---|
committer | 2022-08-01 10:18:27 +0300 | |
commit | 0f94b8e58e3357161973a37ba2e26be9740ffdb2 (patch) | |
tree | 7800f7f42c7c85ea1d2fa04d4bd494e7078aee41 | |
parent | Update pydis_site/apps/content/resources/guides/python-guides/docker-hosting-... (diff) |
Added additional explanation about branch name
-rw-r--r-- | pydis_site/apps/content/resources/guides/python-guides/docker-hosting-guide.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pydis_site/apps/content/resources/guides/python-guides/docker-hosting-guide.md b/pydis_site/apps/content/resources/guides/python-guides/docker-hosting-guide.md index e3d9dffd..36686119 100644 --- a/pydis_site/apps/content/resources/guides/python-guides/docker-hosting-guide.md +++ b/pydis_site/apps/content/resources/guides/python-guides/docker-hosting-guide.md @@ -260,15 +260,16 @@ Now we have registered our VPS as a self-hosted runner and we can run the workfl ### Write a workflow -Create a new file `.github/workflows/runner.yml` and paste the following content into it (it is easy to understand so I -am not going to give many comments) +Create a new file `.github/workflows/runner.yml` and paste the following content into it. Please pay attention to the `branches` instruction. +The GitHub's standard main branch name is `main`, however it may be named `master` or something else if you edited its name. Make sure to put +the correct branch name, otherwise it won't work. More about GitHub workflows syntax [here](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions) ```yml name: Docker Runner on: push: - branches: [ master ] + branches: [ main ] jobs: run: |