Skip to content

Conversation

mateusfccp
Copy link
Contributor

I tested it in this separate branch and it seemed to work. The lastest deployed Github Pages has been done with this configuration (refer to https://github.com/commonlispbr/commonlispbr.github.io/actions/runs/8769442418)

After merging this, we are going to have to overwrite master with develop.

Solves #49

Signed-off-by: Mateus Felipe C. C. Pinto <mateusfccp@gmail.com>
@mateusfccp mateusfccp requested a review from ryukinix April 21, 2024 02:21
Signed-off-by: Mateus Felipe C. C. Pinto <mateusfccp@gmail.com>
Signed-off-by: Mateus Felipe C. C. Pinto <mateusfccp@gmail.com>
@ryukinix
Copy link
Member

We can just delete master and rename develop. The history of master commits it's pretty shit ones.

Thanks! ASAP I will review this.

Please @luksamuk take a look too if you can.

Copy link
Member

@ryukinix ryukinix left a comment

Choose a reason for hiding this comment

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

Pretty good approach. Thanks for contributing, @mateusfccp

I've requested just a few changes and other questions. Please take a look.

shell: bash
run: |
mkdir static
find . "(" -name "*.html" -o -name "*.css" -o -name "*.js" ")" -not -path "./static/*" -not -path "./.github/*" -exec cp {} static \;
Copy link
Member

Choose a reason for hiding this comment

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

That's a pretty long command. Can we simplify somehow?

Copy link
Member

Choose a reason for hiding this comment

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

Maybe we can put this logic into make too, make deploy-static. I really don't like putting too much complexity on CI/CD files.

Another reason: if we want to serve the site locally, we will need to do this, right?

Since we renamed the paths from long.setup and short.setup.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I actually didn't think of and didn't test serving it locally.

Good catch!

Copy link
Contributor Author

@mateusfccp mateusfccp Apr 21, 2024

Choose a reason for hiding this comment

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

Solved.

@mateusfccp
Copy link
Contributor Author

We can just delete master and rename develop. The history of master commits it's pretty shit ones.

If we don't care for master's history, this is the easiest way!

Signed-off-by: Mateus Felipe C. C. Pinto <mateusfccp@gmail.com>
Signed-off-by: Mateus Felipe C. C. Pinto <mateusfccp@gmail.com>
@mateusfccp mateusfccp requested a review from ryukinix April 21, 2024 12:31
Copy link
Member

@ryukinix ryukinix left a comment

Choose a reason for hiding this comment

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

Awesome work, @mateusfccp. Thx. Let's merge this.

@ryukinix ryukinix merged commit 146f71c into develop Apr 21, 2024
@ryukinix ryukinix deleted the deploy_test branch April 21, 2024 15:39
@ryukinix
Copy link
Member

If we don't care for master's history, this is the easiest way!

Rename done. Deleted master, then renamed develop -> master.

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.

2 participants