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

Deploy successully on github pages. #5

Merged
merged 10 commits into from
Nov 24, 2023
Merged

Conversation

pineapples5972
Copy link
Contributor

Add Jekyll configuration to make this work.
This workflow pulls the repo, configured the git global configuration to avoid error in future, runs the php command and commit changes to repo.

 steps:
      - name: Checkout
        uses: actions/checkout@v3
      - name: Setup Pages
        uses: actions/configure-pages@v3
      - name: Set Git user name
        run: git config --global user.name "Github Actions Bot"
      - name: Set Git user email
        run: git config --global user.email "[email protected]"
      - name: Generate index.html from portable.php
        run: php portable.php > index.html
      - name: Add index.html, style.css, and new markdown files to git
        run: git add -A
      - name: Commit changes
        run: git commit -m "Generated new artifacts"

@cadars cadars merged commit 3254831 into cadars:main Nov 24, 2023
@cadars
Copy link
Owner

cadars commented Nov 24, 2023

This is great, thank you very much.

@cadars cadars mentioned this pull request Nov 24, 2023
@pineapples5972
Copy link
Contributor Author

This is great, thank you very much.

Your welcome.

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