mirror of
https://github.com/yxrei/bemani-guide.git
synced 2024-11-27 16:10:49 +01:00
25 lines
525 B
YAML
25 lines
525 B
YAML
name: Build
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.x'
|
|
- name: Install pip dependencies
|
|
run: pip install --user -r requirements.txt
|
|
- name: Build and deploy site
|
|
run: mkdocs gh-deploy --force |