Skip to content

Commit

Permalink
Merge pull request #1950 from GSA/rename-branches-to-prod
Browse files Browse the repository at this point in the history
Rename branches to prod
  • Loading branch information
kkrug authored Jun 28, 2024
2 parents 4ea33d6 + 0488b1b commit e93533f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions _includes/challenges-loop-front-matter-data.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% if site.branch == "master" %}
{% if site.branch == "production" %}
<div id="challenge-gov-react-app" data-api-url="https://portal.challenge.gov" data-public-url="{{ site.baseurl }}"></div>
{% elsif site.branch == "staging" %}
<div id="challenge-gov-react-app" data-api-url="https://challenge-portal-staging.app.cloud.gov" data-public-url="{{ site.baseurl }}"></div>
{% elsif site.branch == "embed-react-app" %}
{% elsif site.branch == "dev" %}
<div id="challenge-gov-react-app" data-api-url="https://challenge-portal-staging.app.cloud.gov" data-public-url="{{ site.baseurl }}"></div>
{% elsif jekyll.environment == "dev" %}
<div id="challenge-gov-react-app" data-api-url="http://localhost:4000" data-image-base="http://localhost:4000" data-public-url="http://localhost:4001" data-bridge-apply-blocked="false"></div>
Expand Down
4 changes: 2 additions & 2 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@
</footer>
<!-- Digital Analytics Program roll-up, see https://analytics.usa.gov for data -->
<script id="_fed_an_ua_tag" src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency={{site.dap_agency}}"></script>
{% if site.branch == "master" %}
{% if site.branch == "production" %}
<link rel="stylesheet" href="https://portal.challenge.gov/css/public.css" crossorigin="anonymous">
<script src="https://portal.challenge.gov/js/public.js"></script>
<script src="https://portal.challenge.gov/js/client.js"></script>
{% elsif site.branch == "staging" %}
<link rel="stylesheet" href="https://challenge-portal-staging.app.cloud.gov/css/public.css" crossorigin="anonymous">
<script src="https://challenge-portal-staging.app.cloud.gov/js/public.js"></script>
<script src="https://challenge-portal-staging.app.cloud.gov/js/client.js"></script>
{% elsif site.branch == "embed-react-app" %}
{% elsif site.branch == "dev" %}
<link rel="stylesheet" href="https://challenge-portal-staging.app.cloud.gov/css/public.css" crossorigin="anonymous">
<script src="https://challenge-portal-staging.app.cloud.gov/js/public.js"></script>
<script src="https://challenge-portal-staging.app.cloud.gov/js/client.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Title and meta description
================================================== -->
<title>{% if page.challenge-title %}{{ page.challenge-title }} | {{ site.title }}{% elsif page.title %}{{ page.title }} | {{ site.title }}{% else %}{{ site.title }}{% endif %}</title> {% if site.branch != "master" %}
<title>{% if page.challenge-title %}{{ page.challenge-title }} | {{ site.title }}{% elsif page.title %}{{ page.title }} | {{ site.title }}{% else %}{{ site.title }}{% endif %}</title> {% if site.branch != "production" %}
<meta name="robots" content="noindex, nofollow"> {% endif %}
<meta name="description" content="{{site.description}}">
<meta property="og:title" content="{% if page.challenge-title %}{{ page.challenge-title }}{% elsif page.title %}{{ page.title }} | {{ site.title }}{% else %}{{ site.title }}{% endif %}">
Expand Down
2 changes: 1 addition & 1 deletion dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
target-branch: "master"
target-branch: "production"
schedule:
interval: "weekly"

0 comments on commit e93533f

Please sign in to comment.