dosage/.github/workflows/pages.yml
dependabot[bot] 3cca79a3ed
Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09 07:09:48 +00:00

36 lines
857 B
YAML

---
name: GitHub Pages
on:
push:
branches:
- master
permissions:
contents: write
jobs:
deploy:
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.9
- name: Build
run: |
sudo apt-get --yes install --no-install-recommends libimage-exiftool-perl
pip install git+https://github.com/spanezz/staticsite.git@dcf41e4a2b2d3610f2561b08bee16088fbbd1b04 'jinja2<3.1'
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'