Skip to content

Update OpenShield Learn page with current statistics and add CI/CD for auto-updates - #229

Closed
parthrohit22 wants to merge 2 commits into
openshield-org:devfrom
parthrohit22:dev
Closed

Update OpenShield Learn page with current statistics and add CI/CD for auto-updates#229
parthrohit22 wants to merge 2 commits into
openshield-org:devfrom
parthrohit22:dev

Conversation

@parthrohit22

Copy link
Copy Markdown
Member

Fixes #228

Comment on lines +32 to +42
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add docs/learn/index.html
# Check if there are changes to commit
if ! git diff --cached --quiet; then
git commit -m "docs: update learn page statistics [skip ci]"
git push origin HEAD:${{ github.ref }}
else
echo "No changes to learn page"
fi No newline at end of file
update-learn-page:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
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.

docs: update Learn page statistics and add CI/CD for auto-updates

2 participants