Skip to content

Commit

Permalink
Disable document deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
facelessuser committed Feb 13, 2020
1 parent baecb7d commit 8686e85
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,32 @@ on:

jobs:

documents:
strategy:
max-parallel: 4
matrix:
python-version: [3.7]

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install -r requirements/docs.txt
- name: Deploy documents
run: |
git config user.name ${{ secrets.GH_USER }}
git config user.email "${{ secrets.GH_EMAIL }}"
git remote add gh-token "https://${{ secrets.GH_TOKEN }}@github.com/facelessuser/pymdown-extensions.git"
git fetch gh-token && git fetch gh-token gh-pages:gh-pages
python -m mkdocs gh-deploy -v --clean --remote-name gh-token
git push gh-token gh-pages
# documents:
# strategy:
# max-parallel: 4
# matrix:
# python-version: [3.7]

# runs-on: ubuntu-latest

# steps:
# - uses: actions/checkout@v1
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v1
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip setuptools
# python -m pip install -r requirements/docs.txt
# - name: Deploy documents
# run: |
# git config user.name ${{ secrets.GH_USER }}
# git config user.email "${{ secrets.GH_EMAIL }}"
# git remote add gh-token "https://${{ secrets.GH_TOKEN }}@github.com/facelessuser/pymdown-extensions.git"
# git fetch gh-token && git fetch gh-token gh-pages:gh-pages
# python -m mkdocs gh-deploy -v --clean --remote-name gh-token
# git push gh-token gh-pages

pypi:
strategy:
Expand Down

0 comments on commit 8686e85

Please sign in to comment.