Skip to content

Commit

Permalink
Fix api deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoc72 committed Mar 3, 2021
1 parent e54b8ba commit 7380cca
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Checkout api repository
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v1
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
extensions: mbstring, dom, json, libxml, xml, xmlwriter
Expand All @@ -21,10 +21,8 @@ jobs:
run: wget https://github.com/cristianoc72/Sami/releases/download/v4.1.3/sami.phar
- name: Build api documentation
run: php sami.phar update sami.php
- name: Create .nojekyll file
run: touch ./api/.nojekyll
- name: Deploy api documentation site
uses: peaceiris/actions-gh-pages@v2
env:
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.DOCBLOCK_TOKEN }}
publish_dir: ./api
publish_dir: ./api

0 comments on commit 7380cca

Please sign in to comment.