Skip to content

Commit

Permalink
Change main directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
caggursoy committed Mar 15, 2024
1 parent 4e9cfaf commit ba946b9
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches:
- master

permissions:
actions: write
contents: write
Expand All @@ -14,41 +14,41 @@ permissions:
repository-projects: write

# This job installs dependencies, build the book, and pushes it to `gh-pages`
jobs:
jobs:
build-and-deploy-book:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: [3.8]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2

# Install dependencies
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
# Install dependencies
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Install dependencies
run: |
pip install -r requirements.txt
# Build the book
- name: Build the book
run: |
jupyter-book build testbook
# Build the book
- name: Build the book
run: |
jupyter-book build ariadne
# Deploy the book's HTML to gh-pages branch
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
with:
# Deploy the book's HTML to gh-pages branch
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: testbook/_build/html
- name: copy
env:
SRC_FOLDER_PATH: 'graph/'
TARGET_BRANCH: 'gh-pages'
run: |
publish_dir: ariadne/_build/html
- name: copy
env:
SRC_FOLDER_PATH: "graph/"
TARGET_BRANCH: "gh-pages"
run: |
#files= $(find $SRC_FOLDER_PATH -type f) # get the file list
files=$(ls -d **graph/*)
#echo $files
Expand Down

0 comments on commit ba946b9

Please sign in to comment.