fix: phpseclib security vulnerability (#2524) #158
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Documentation | |
on: | |
push: | |
branches: [main] | |
jobs: | |
docs: | |
name: "Generate Project Documentation" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | |
- name: Install Dependencies | |
uses: nick-invision/retry@v1 | |
with: | |
timeout_minutes: 10 | |
max_attempts: 3 | |
command: composer install | |
- name: Generate and Push Documentation | |
uses: docker://php:7.4-cli | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
with: | |
entrypoint: ./.github/actions/docs/entrypoint.sh | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: .docs |