Skip to content

Fix routing changelog and upgrading notes (#397) #222

Fix routing changelog and upgrading notes (#397)

Fix routing changelog and upgrading notes (#397) #222

Workflow file for this run

name: Sync
on:
push:
branches:
- master
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.SYNC_TOKEN }}
- name: Sync Repos
run: ./scripts/sync.sh
env:
BEFORE_SHA: ${{ github.event.before }}
AFTER_SHA: ${{ github.event.after }}
docs:
runs-on: ubuntu-latest
steps:
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_KEY }}
- uses: actions/checkout@v4
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Install Components
run: shards install --without-development
env:
SHARDS_OVERRIDE: shard.dev.yml
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install -r requirements.txt
- name: Build Docs
run: mkdocs build -d ./site
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: athenaframework
directory: site
branch: dev