mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-01-02 11:26:29 -05:00
Netlify production releases
This commit is contained in:
parent
b1fcc23d0f
commit
d03114fd33
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -40,6 +40,10 @@ jobs:
|
|||||||
ssh-key: ${{ secrets.ACTIONS_SSH_KEY }}
|
ssh-key: ${{ secrets.ACTIONS_SSH_KEY }}
|
||||||
submodules: 'true'
|
submodules: 'true'
|
||||||
|
|
||||||
|
- name: Push to production branch
|
||||||
|
run: |
|
||||||
|
git push origin main:production
|
||||||
|
|
||||||
- name: Pages setup
|
- name: Pages setup
|
||||||
uses: actions/configure-pages@v3
|
uses: actions/configure-pages@v3
|
||||||
|
|
||||||
|
@ -111,6 +111,8 @@ Translations downloaded from Crowdin are [.gitignore](/.gitignore)'d, so any loc
|
|||||||
|
|
||||||
## Releasing
|
## Releasing
|
||||||
|
|
||||||
|
It is required to create a GitHub release to publish the current site to privacyguides.org. The current `main` branch can be previewed at [https://main.staging.privacyguides.dev](https://main.staging.privacyguides.dev) prior to release.
|
||||||
|
|
||||||
1. Create a new tag: `git tag -s v3.X.X -m 'Some message'`
|
1. Create a new tag: `git tag -s v3.X.X -m 'Some message'`
|
||||||
- [View existing tags](https://github.com/privacyguides/privacyguides.org/tags)
|
- [View existing tags](https://github.com/privacyguides/privacyguides.org/tags)
|
||||||
- Tag [numbering](https://semver.org/): Increment the MINOR (2nd) number when making significant changes (adding/deleting pages, etc.), increment the PATCH (3rd) number when making minor changes (typos, bug fixes). Probably leave the MAJOR number at 3 until a massive revamp (v1 -> v2 was the Jekyll to MkDocs transition, v2 -> v3 was the introduction of translations).
|
- Tag [numbering](https://semver.org/): Increment the MINOR (2nd) number when making significant changes (adding/deleting pages, etc.), increment the PATCH (3rd) number when making minor changes (typos, bug fixes). Probably leave the MAJOR number at 3 until a massive revamp (v1 -> v2 was the Jekyll to MkDocs transition, v2 -> v3 was the introduction of translations).
|
||||||
|
@ -77,6 +77,12 @@
|
|||||||
<a href="https://www.privacyguides.org/">
|
<a href="https://www.privacyguides.org/">
|
||||||
<strong>Visit privacyguides.org for current advice.</strong>
|
<strong>Visit privacyguides.org for current advice.</strong>
|
||||||
</a>
|
</a>
|
||||||
|
{% elif config.extra.context == "branch-deploy" %}
|
||||||
|
You're viewing a <strong>staging branch</strong> of Privacy Guides built on {{ build_date_utc }}.
|
||||||
|
The information on this page may be incomplete or otherwise not yet meet our editorial release standards.
|
||||||
|
<a href="https://www.privacyguides.org/">
|
||||||
|
<strong>Visit privacyguides.org for current advice.</strong>
|
||||||
|
</a>
|
||||||
{% else %}{% endif %}{% endblock %}
|
{% else %}{% endif %}{% endblock %}
|
||||||
{% block extrahead %}{% if page and page.meta and page.meta.schema %}
|
{% block extrahead %}{% if page and page.meta and page.meta.schema %}
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
|
Loading…
Reference in New Issue
Block a user