Skip to content

Remove default dot after hostname #20

Remove default dot after hostname

Remove default dot after hostname #20

name: Build Extensions
on:
workflow_dispatch: # Manually start a workflow
push:
paths:
- 'raw/**'
jobs:
build-extensions:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Run gen.py to build extensions
run: |
python3 gen.py
- name: Commit generated files
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git add extensions/tapp/ extensions/extensions.jsonl
if git diff --staged --quiet; then
echo "No changes to commit"
exit 0
fi
git commit -m "Auto-build extensions from raw/ changes - ${GITHUB_SHA}"
- name: Push changes to repository
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: 'main'