-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,27 +6,34 @@ on: | |
schedule: | ||
- cron: '0 2 * * 6' | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
deploy-pages: | ||
runs-on: macos-latest | ||
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession. | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/checkout@v2.3.1 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. | ||
uses: actions/checkout@v3 # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. | ||
run: | | ||
brew install python libmagic | ||
python3 -m pip install -U pip setuptools wheel | ||
python3 -m pip install -r docs/requirements.txt | ||
python3 -m pip install . | ||
brew install [email protected] libmagic || true | ||
brew link --force --overwrite [email protected] | ||
python3.11 -m pip install -U pip setuptools wheel | ||
python3.11 -m pip install -r docs/requirements.txt | ||
python3.11 -m pip install . | ||
make -C docs html | ||
# disable Jekyll | ||
touch docs/build/html/.nojekyll | ||
- name: Deploy 🚀 | ||
uses: JamesIves/github-pages-deploy-action@3.7.1 | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages # The branch the action should deploy to. | ||
|