Skip to content

Instantly share code, notes, and snippets.

@Log1x
Last active December 2, 2024 16:14
Show Gist options
  • Select an option

  • Save Log1x/4b0a661252686bc6f14bf54a4c714381 to your computer and use it in GitHub Desktop.

Select an option

Save Log1x/4b0a661252686bc6f14bf54a4c714381 to your computer and use it in GitHub Desktop.

Revisions

  1. Log1x revised this gist May 21, 2024. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -32,6 +32,7 @@ cat public/palette.json
    cd {{ release }}

    wp acorn optimize
    wp acorn acf:cache
    ```

    ### Purge RunCloud Cache
  2. Log1x revised this gist Nov 16, 2023. No changes.
  3. Log1x revised this gist Nov 16, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -49,7 +49,7 @@ wp runcloud-hub update-dropin

    ## Optional Deploy Command

    - [envoyer-deploy-commands](https://github.com/Log1x/envoyer-deploy-commands) (Works with Laravel & Acorn)
    - [log1x/envoyer-deploy-commands](https://github.com/Log1x/envoyer-deploy-commands) (Works with Laravel & Acorn)

    ## Screenshot

  4. Log1x revised this gist Nov 16, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original file line number Diff line number Diff line change
    @@ -49,7 +49,7 @@ wp runcloud-hub update-dropin

    ## Optional Deploy Command

    - https://github.com/Log1x/envoyer-deploy-commands
    - [envoyer-deploy-commands](https://github.com/Log1x/envoyer-deploy-commands) (Works with Laravel & Acorn)

    ## Screenshot

  5. Log1x revised this gist Nov 16, 2023. No changes.
  6. Log1x revised this gist Nov 16, 2023. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,7 @@
    # Envoyer Hooks for Bedrock+Sage w/ RunCloud

    This is a simple breakdown of how I deploy Bedrock+Sage using RunCloud and Envoyer.

    ## Hooks

    ### Install Theme Dependencies
  7. Log1x revised this gist Nov 16, 2023. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -38,6 +38,11 @@ wp runcloud-hub purgeall
    wp runcloud-hub update-dropin
    ```

    ## Linked Folders

    - From: `web/app/uploads`
    - To: `shared/uploads`

    ## Optional Deploy Command

    - https://github.com/Log1x/envoyer-deploy-commands
  8. Log1x revised this gist Oct 31, 2023. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    ## Hooks

    ### Install Theme Dependencies
    ```sh
    cd {{ release }}/web/app/themes/sage
    @@ -36,4 +38,10 @@ wp runcloud-hub purgeall
    wp runcloud-hub update-dropin
    ```

    ## Optional Deploy Command

    - https://github.com/Log1x/envoyer-deploy-commands

    ## Screenshot

    ![Envoyer Hooks](https://i.imgur.com/hokKMLP.png)
  9. Log1x revised this gist Oct 31, 2023. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,3 @@
    ![Envoyer Hooks](https://i.imgur.com/hokKMLP.png)

    ### Install Theme Dependencies
    ```sh
    cd {{ release }}/web/app/themes/sage
    @@ -36,4 +34,6 @@ cd {{ release }}

    wp runcloud-hub purgeall
    wp runcloud-hub update-dropin
    ```
    ```

    ![Envoyer Hooks](https://i.imgur.com/hokKMLP.png)
  10. Log1x revised this gist Oct 31, 2023. No changes.
  11. Log1x created this gist Oct 31, 2023.
    39 changes: 39 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,39 @@
    ![Envoyer Hooks](https://i.imgur.com/hokKMLP.png)

    ### Install Theme Dependencies
    ```sh
    cd {{ release }}/web/app/themes/sage

    composer install --no-ansi --no-dev --no-interaction --no-progress --optimize-autoloader --no-scripts --classmap-authoritative
    ```

    ### Check WordPress Installation
    ```sh
    cd {{ release }}

    wp core is-installed --skip-plugins --skip-themes
    wp core update-db
    ```

    ### Check Theme Assets
    ```sh
    cd {{ release }}/web/app/themes/sage

    cat public/entrypoints.json
    cat public/palette.json
    ```

    ### Run Acorn Commands
    ```sh
    cd {{ release }}

    wp acorn optimize
    ```

    ### Purge RunCloud Cache
    ```sh
    cd {{ release }}

    wp runcloud-hub purgeall
    wp runcloud-hub update-dropin
    ```