Remove unexpected :
in spec
getting started install docs (athena-…
#239
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/repo.sh sync | |
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 |