Skip to content

Commit

Permalink
Update server hostname in deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
devangspsingh committed Aug 8, 2024
1 parent 656317b commit 36cf760
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

- name: Run deployment commands on server
run: |
ssh -o StrictHostKeyChecking=no ubuntu@server.dspsc.live << 'EOF'
ssh -o StrictHostKeyChecking=no ubuntu@gyanaangan.dspsc.live << 'EOF'
cd /home/ubuntu/gyanaangan-django
git pull origin main # Pull the latest changes from the repository
source /home/ubuntu/gyanaangan-django/venv/bin/activate # Activate virtual environment if needed
Expand Down
2 changes: 1 addition & 1 deletion templates/courses/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<header
class="max-w-screen-xl bg-gradient-to-b mx-auto container via-transparent border-gray-200 px-2 sm:px-4 py-2.5 dark:bg-gray-800">
<div class="container flex flex-wrap justify-between items-center mx-auto">
<a href="{% url 'home' %}" class="flex items-center">
<a href="{% url 'home' %}" title="Gyan Aangan" name="Gyan Aangan | Home" class="flex items-center">

<img src="{%static 'images/logo white.png'%}" class="mr-2 h-12" alt="Gyan Aangan Logo">
<span
Expand Down
8 changes: 8 additions & 0 deletions templates/courses/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
{% block meta %}
<meta name="description" content="Welcome to our education platform. Browse courses, subjects, and resources.">
<meta name="keywords" content="education, courses, subjects, resources">
<script type="application/ld+json">
{
"@context" : "https://schema.org",
"@type" : "WebSite",
"name" : "Gyan Aangan",
"url" : "https://gyanaangan.dspsc.live/"
}
</script>
{% endblock %}

{% block content %}
Expand Down

0 comments on commit 36cf760

Please sign in to comment.