Skip to content

Commit 170365c

Browse files
authored
repo sync
2 parents f53df80 + 6feed15 commit 170365c

File tree

5 files changed

+17
-10
lines changed

5 files changed

+17
-10
lines changed

.github/workflows/update-graphql-files.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ env:
99
FREEZE: ${{ secrets.FREEZE }}
1010

1111
on:
12-
schedule:
13-
- cron: '20 16 * * *' # run every day at 16:20 UTC / 8:20 PST
12+
workflow_dispatch:
13+
#schedule:
14+
#- cron: '20 16 * * *' # run every day at 16:20 UTC / 8:20 PST
1415

1516
jobs:
1617
update_graphql_files:
@@ -36,7 +37,7 @@ jobs:
3637
- name: Run updater scripts
3738
env:
3839
# need to use a token from a user with access to github/github for this step
39-
GITHUB_TOKEN: ${{ secrets.ZEKE_PAT_WITH_REPO_AND_WORKFLOW_SCOPE_FOR_REPO_SYNC }}
40+
GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }}
4041
run: |
4142
script/graphql/update-files.js
4243
- name: Create pull request

app.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "docs.github.com",
33
"env": {
44
"NODE_ENV": "production",
5-
"NPM_CONFIG_PRODUCTION": "true"
5+
"NPM_CONFIG_PRODUCTION": "true",
6+
"ENABLED_LANGUAGES": "en, de"
67
},
78
"buildpacks": [
89
{ "url": "https://github.com/DataDog/heroku-buildpack-datadog.git#1.21" },

content/github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ To set up a `www` or custom subdomain, such as `www.example.com` or `blog.exampl
4040
{% data reusables.pages.navigate-site-repo %}
4141
{% data reusables.repositories.sidebar-settings %}
4242
{% data reusables.pages.save-custom-domain %}
43-
5. Navigate to your DNS provider and create a `CNAME` record that points your subdomain to the default domain for your site. For example, if you want to use the subdomain `www.example.com` for your user site, create a `CNAME` record that points `www.example.com` to `<user>.github.io`. If you want to use the subdomain `www.anotherexample.com` for your organization site, create a `CNAME` record that points `www.anotherexample.com` to `<organization>.github.io`. The `CNAME` file should always point to `<user>.github.io` or `<organization>.github.io`, excluding the repository name. {% data reusables.pages.contact-dns-provider %} {% data reusables.pages.default-domain-information %}
43+
5. Navigate to your DNS provider and create a `CNAME` record that points your subdomain to the default domain for your site. For example, if you want to use the subdomain `www.example.com` for your user site, create a `CNAME` record that points `www.example.com` to `<user>.github.io`. If you want to use the subdomain `www.anotherexample.com` for your organization site, create a `CNAME` record that points `www.anotherexample.com` to `<organization>.github.io`. The `CNAME` record should always point to `<user>.github.io` or `<organization>.github.io`, excluding the repository name. {% data reusables.pages.contact-dns-provider %} {% data reusables.pages.default-domain-information %}
44+
45+
{% indented_data_reference site.data.reusables.pages.wildcard-dns-warning spaces=3 %}
4446
{% data reusables.command_line.open_the_multi_os_terminal %}
4547
6. To confirm that your DNS record configured correctly, use the `dig` command, replacing _WWW.EXAMPLE.COM_ with your subdomain.
4648
```shell
@@ -71,6 +73,8 @@ To set up an apex domain, such as `example.com`, you must configure a _CNAME_ fi
7173
185.199.110.153
7274
185.199.111.153
7375
```
76+
77+
{% indented_data_reference site.data.reusables.pages.wildcard-dns-warning spaces=3 %}
7478
{% data reusables.command_line.open_the_multi_os_terminal %}
7579
6. To confirm that your DNS record configured correctly, use the `dig` command, replacing _EXAMPLE.COM_ with your apex domain. Confirm that the results match the IP addresses for {% data variables.product.prodname_pages %} above.
7680
```shell

content/github/working-with-github-pages/troubleshooting-custom-domains-and-github-pages.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ Make sure your site does not:
3939
- Use more than one `www` subdomain. For example, both `www.example.com` and `www.anotherexample.com`.
4040
- Use both an apex domain and custom subdomain. For example, both `example.com` and `docs.example.com`.
4141

42-
{% warning %}
43-
44-
**Warning:** We strongly recommend not using wildcard DNS records, such as `*.example.com`. A wildcard DNS record will allow anyone to host a {% data variables.product.prodname_pages %} site at one of your subdomains.
45-
46-
{% endwarning %}
42+
{% data reusables.pages.wildcard-dns-warning %}
4743

4844
For a list of supported custom domains, see "[About custom domains and {% data variables.product.prodname_pages %}](/articles/about-custom-domains-and-github-pages/#supported-custom-domains)."
4945

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{% warning %}
2+
3+
**Warning:** We strongly recommend not using wildcard DNS records, such as `*.example.com`. A wildcard DNS record will allow anyone to host a {% data variables.product.prodname_pages %} site at one of your subdomains.
4+
5+
{% endwarning %}

0 commit comments

Comments
 (0)