Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make a variable of base css path #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cat-bro
Copy link
Collaborator

@cat-bro cat-bro commented Oct 10, 2023

Have a default galaxy_subsite_base_stylesheet: set to "{{ galaxy_server_dir }}/static/dist/base.css" as is done in the tiaas2 repo here. Note that the previous static/style/base.css no longer part of the codebase, was already a symlink to static/dist/base.css (also not part of the codebase but will exist once the client is built).

@@ -42,13 +42,13 @@
# Main css file that's used as a fallback.
- name: Create main site CSS

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ansible-lint] reported by reviewdog 🐶
no-changed-when Commands should not change things if nothing needs doing

@@ -42,13 +42,13 @@
# Main css file that's used as a fallback.
- name: Create main site CSS
ansible.builtin.shell: |
cat {{ galaxy_server_dir }}/static/style/base.css {{ galaxy_subsite_dir }}/{{ galaxy_subsite_base_domain }}-custom.css \
cat {{ galaxy_subsite_base_stylesheet }} {{ galaxy_subsite_dir }}/{{ galaxy_subsite_base_domain }}-custom.css \
> {{ galaxy_subsite_dir }}/{{ galaxy_subsite_base_domain }}.css

# Make the final CSS files.
- name: Merge CSS files for subsites

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[ansible-lint] reported by reviewdog 🐶
no-changed-when Commands should not change things if nothing needs doing

@hexylena
Copy link
Member

@cat-bro we're trying to deprecate this and integrate it into ansible-galaxy galaxyproject/ansible-galaxy#194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants