Skip to content

Commit

Permalink
refactor: apcd-cms to apcd_cms (#296)
Browse files Browse the repository at this point in the history
* refactor:(apcd): rename from apcd-cms to apcd_cms

* fix(apcd): preserve envs via COMPOSE_PROJECT_NAME

* chore(apcd): reove temp workflow
  • Loading branch information
wesleyboar authored Jul 29, 2024
1 parent 39dfdd3 commit 5ae5632
Show file tree
Hide file tree
Showing 142 changed files with 23 additions and 61 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/apcd-cms-with-_.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/apcd-cms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on:
push:
branches: [main]
paths:
- "apcd-cms/**"
- "apcd_cms/**"

jobs:
build_commit:
runs-on: ubuntu-latest
defaults:
run:
working-directory: apcd-cms
working-directory: apcd_cms
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -34,6 +34,6 @@ jobs:
- name: Build & push commit tagged Docker image
uses: docker/build-push-action@v5
with:
context: apcd-cms
context: apcd_cms
push: true
tags: taccwma/apcd-cms:${{ steps.vars.outputs.SHORT_SHA }},taccwma/apcd-cms:${{ steps.vars.outputs.BRANCH_NAME }}
File renamed without changes.
1 change: 1 addition & 0 deletions apcd_cms/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
COMPOSE_PROJECT_NAME=apcd-cms
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% load static %}
<link rel="stylesheet" href="{% static 'apcd-cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'admin_exception/css/modal.css' %}">
<div id="editExceptionModal_{{r.exception_id}}" class="modal fade" role="dialog">
<div class="modal-dialog modal-lg">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load static %}

{% block content %}
<link rel="stylesheet" href="{% static 'apcd-cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'admin_exception/css/table.css' %}">
<div class="container">
{% include "nav_cms_breadcrumbs.html" %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% load static %}
<link rel="stylesheet" href="{% static 'apcd-cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'admin_exception/css/modal.css' %}">
<div id="viewAdminExceptionsModal_{{r.exception_id}}" class="modal fade" role="dialog">
<div class="modal-dialog modal-lg">
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% load static %}
<link rel="stylesheet" href="{% static 'apcd-cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'admin_extension/css/modal.css' %}">
<div id="editExtensionModal_{{r.extension_id}}" class="modal fade" role="dialog">
<div class="modal-dialog modal-lg">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% load static %}

{% block content %}
<link rel="stylesheet" href="{% static 'apcd-cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'admin_extension/css/table.css' %}">

<div class="container">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% load static %}
<link rel="stylesheet" href="{% static 'apcd-cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'admin_exception/css/modal.css' %}">
<div id="viewAdminExtensionsModal_{{r.extension_id}}" class="modal fade" role="dialog">
<div class="modal-dialog modal-lg">
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

{% block content %}

<link rel="stylesheet" href="{% static 'apcd-cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'apcd-cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'admin_regis_table/css/table.css' %}">

<div class="container">
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

{% block content %}

<link rel="stylesheet" href="{% static 'apcd-cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'apcd-cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'submissions/css/table.css' %}">
<link rel="stylesheet" href="{% static 'submissions/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'admin_submissions/css/admin_table.css' %}">
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

{% block content %}

<link rel="stylesheet" href="{% static 'apcd-cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'apcd-cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'submissions/css/table.css' %}">
<link rel="stylesheet" href="{% static 'submissions/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'admin_regis_table/css/table.css' %}">
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

{% block content %}

<link rel="stylesheet" href="{% static 'apcd-cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'apcd-cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'admin_regis_table/css/table.css' %}">

<div class="container">
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% load static %}
<link rel="stylesheet" href="{% static 'apcd-cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'view_users_table/css/modal.css' %}">
<div id="editUserModal_{{r.user_id}}" class="modal fade" role="dialog">
<div class="modal-dialog modal-lg">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% load static %}
<link rel="stylesheet" href="{% static 'apcd-cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'view_users_table/css/modal.css' %}">
<div id="viewUserModal_{{r.user_id}}" class="modal fade" role="dialog">
<div class="modal-dialog modal-lg">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

{% block content %}

<link rel="stylesheet" href="{% static 'apcd-cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'apcd-cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/table.css' %}">
<link rel="stylesheet" href="{% static 'apcd_cms/css/modal.css' %}">
<link rel="stylesheet" href="{% static 'view_users_table/css/table.css' %}">

<div class="container">
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@

<!-- TUP CMS UI Styles -->
<style>
@import url("{% static 'apcd-cms/css/site.cms.css' %}");
@import url("{% static 'apcd_cms/css/site.cms.css' %}");
</style>

0 comments on commit 5ae5632

Please sign in to comment.