name: Pages on: push: branches: - main jobs: parse: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 - name: Set up Python uses: actions/setup-python@v2 with: python-version: 3.9 - name: Install Poetry uses: abatilo/actions-poetry@v2.1.4 poetry-version: 1.1 - name: Poetry version run: poetry --version pages: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./site/docs publish_branch: site