dosage/.github/workflows/pages.yml
dependabot[bot] 6697cd414a
Bump actions/checkout from 2 to 2.3.4 (#188)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 13:43:36 +02:00

35 lines
727 B
YAML

name: GitHub Pages
on:
push:
branches:
- master
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.3.4
with:
fetch-depth: 10
- name: Set up Python
uses: actions/setup-python@v2.2.2
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'