Skip to content

Deploy Retype to GitHub Pages #16

Deploy Retype to GitHub Pages

Deploy Retype to GitHub Pages #16

Workflow file for this run

name: Deploy Retype to GitHub Pages
on:
push:
branches: [ "master" ]
paths:
- docs/**
- retype.yml
workflow_dispatch:
permissions:
contents: write
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
defaults:
run:
shell: bash
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Generate changelog from GitHub Releases
run: python scripts/generate_changelog.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build with Retype
uses: retypeapp/action-build@latest
- name: Deploy to GitHub Pages
uses: retypeapp/action-github-pages@latest
with:
update-branch: true