dosage/.github/workflows/pages.yml

35 lines
719 B
YAML
Raw Normal View History

name: GitHub Pages
on:
2021-05-01 12:10:48 +00:00
push:
branches:
- master
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 10
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Build
run: |
pip install git+https://github.com/spanezz/staticsite.git@v1.2
ssite build --output public
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
cname: dosage.rocks
github_token: ${{ secrets.GITHUB_TOKEN }}
exclude_assets: 'Jenkinsfile,dosagelib,scripts,setup.*,tests,*.ini'