dosage/.github/workflows/pages.yml

38 lines
839 B
YAML
Raw Normal View History

2022-04-16 02:06:51 +00:00
---
name: GitHub Pages
on:
2021-05-01 12:10:48 +00:00
push:
branches:
- master
permissions:
contents: write
jobs:
deploy:
2022-04-16 02:06:51 +00:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 10
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Build
run: |
2022-04-16 02:06:51 +00:00
sudo apt-get --yes install --no-install-recommends libimage-exiftool-perl
pip install wheel
2023-06-01 21:30:59 +00:00
pip install git+https://github.com/spanezz/staticsite.git@v2.3
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'