Testing new woflow. #2
This file contains hidden or 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: Deploy Site | ||
|
Check failure on line 1 in .github/workflows/Deploy_site.yml
|
||
| on: | ||
| #pull_request: | ||
| # branches: | ||
| # - main | ||
| push: | ||
| branches: | ||
| - robolancer_updates | ||
| jobs: | ||
| build: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: 3.x | ||
| - run: pip install -r requirements.txt | ||
| - run: mkdocs build | ||
| deploy: | ||
| environment: | ||
| name: github-pages | ||
| url: ${{ steps.deployment.outputs.page_url }} | ||
| runs-on: ubuntu-latest | ||
| needs: build | ||
| steps: | ||
| - name: Deploy to GitHub Pages | ||
| - id: deployment | ||
| - uses: actions/checkout@v2 | ||
| - uses: actions/setup-python@v2 | ||
| - uses: actions/deploy-pages@v4 | ||
| #- run: mkdocs gh-deploy --force | ||