Skip to content

Commit

Permalink
feat: rename folder + update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Jul 2, 2024
1 parent a691a1d commit 4aa689d
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 53 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ jobs:
steps:
- uses: actions/checkout@master

- name: Deploy
- name: Copy tailwind.config.js
run: cp tailwind.config.js site/assets/backups/export-profile/assets/

- name: Deploy to main branch
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
Expand Down
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
<?php namespace ProcessWire;
<?php

namespace ProcessWire;

/**
* Install finish file (3.0.191+ only)
*
* This file is called when profile installation has finished
*
* This file is called when profile installation has finished
* but before install assets have been deleted. The Installer
* can also be accessed via the $installer variable.
*
* can also be accessed via the $installer variable.
*
* Use this file to perform any additional updates to the site
* that are needed by your site profile.
*
* that are needed by your site profile.
*
* Most ProcessWire API variables are available and locally
* scoped to this file.
*
* ProcessWire versions prior to 3.0.191 ignore this file.
*
* scoped to this file.
*
* ProcessWire versions prior to 3.0.191 ignore this file.
*
*/

if(!defined("PROCESSWIRE_INSTALL")) die();
if (!defined("PROCESSWIRE_INSTALL")) die();

/** @var Installer $installer */
/** @var ProcessWire $wire */
/** @var Pages $pages */
/** @var User $user */
// …and so on for other API variables
// …and so on for other API variables

// your custom finishing code here
// foo bar

$installer->ok('Finished installing site profile');
$installer->ok('Finished installing site profile');
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# --- WireDatabaseBackup {"time":"2024-07-02 14:37:42","user":"","dbName":"db","description":"","tables":[],"excludeTables":["pages_drafts","pages_roles","permissions","roles","roles_permissions","users","users_roles","user","role","permission"],"excludeCreateTables":[],"excludeExportTables":["field_roles","field_permissions","field_email","field_pass","caches","session_login_throttle","page_path_history"]}
# --- WireDatabaseBackup {"time":"2024-07-02 14:51:16","user":"","dbName":"db","description":"","tables":[],"excludeTables":["pages_drafts","pages_roles","permissions","roles","roles_permissions","users","users_roles","user","role","permission"],"excludeCreateTables":[],"excludeExportTables":["field_roles","field_permissions","field_email","field_pass","caches","session_login_throttle","page_path_history"]}

DROP TABLE IF EXISTS `caches`;
CREATE TABLE `caches` (
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
// Example JS file
// Your site's custom JS file
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

{* main navigation *}
<div class="uk-navbar-right">
{include "../includes/nav-simple.latte"}
{include "../includes/mobile-menu.latte"}
{include "../partials/nav-simple.latte"}
{include "../partials/mobile-menu.latte"}
</div>
</nav>
</div>
Expand Down
2 changes: 1 addition & 1 deletion site/templates/scripts/main.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
// Example JS file
// Your site's custom JS file
5 changes: 4 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./site/templates/**/*.{latte,php}"],
content: [
"./site/templates/**/*.{latte,php}",
"./site/templates/scripts/main.js",
],
theme: {
extend: {
screens: {
Expand Down

0 comments on commit 4aa689d

Please sign in to comment.