diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 911825422e..ea6b2ea561 100755 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -33,7 +33,7 @@ on: jobs: pages: name: Build GitHub Pages - runs-on: ubuntu-latest + runs-on: ubuntu-latest steps: - name: Set up Python @@ -41,8 +41,8 @@ jobs: with: python-version: "3.8" - # - run: find | sort - - uses: actions/checkout@v3 + # - run: find | sort + - uses: actions/checkout@v3 # with: # path: app/dev # Adding above 2 lines forces pre-pending filepaths below w/ 'app/dev/filepath' @@ -50,7 +50,7 @@ jobs: - uses: actions/checkout@v3 name: Check out main with: - ref: 'refs/heads/main + ref: 'refs/heads/main' path: main # TODO: change to 'python3 app/dev/src/db.py main' per actions/checkout@3 @@ -72,10 +72,10 @@ jobs: echo ${{ github.ref }} - name: Add GPU-Occupancy-Calculator - env: + env: GPU_OCC_CALC: src/docs/_build/Tools/GPU-Occupancy-Calculator/ run: | - mkdir -p ${GPU_OCC_CALC} + mkdir -p ${GPU_OCC_CALC} cd ${GPU_OCC_CALC} wget https://raw.githubusercontent.com/oneapi-src/oneAPI-samples/main/Tools/GPU-Occupancy-Calculator/index.html @@ -84,10 +84,10 @@ jobs: env: GITHUB_USER: ${{ github.actor }} GITHUB_TOKEN: ${{ github.token }} - GITHUB_REPO: ${{ github.repository }} + GITHUB_REPO: ${{ github.repository }} run: | cd src/docs/_build/ - touch .nojekyll + touch .nojekyll git init git remote add origin "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/${GITHUB_REPO}" git add -A