Commit 76af1fd8 authored by Peter Parente's avatar Peter Parente

Separate main, wiki paths

parent 34e73d4f
...@@ -15,19 +15,13 @@ jobs: ...@@ -15,19 +15,13 @@ jobs:
steps: steps:
- name: Clone Main Repo - name: Clone Main Repo
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Debug with:
run: | path: main
pwd
ls -al
- name: Clone Wiki - name: Clone Wiki
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
repository: ${{github.repository}}.wiki repository: ${{github.repository}}.wiki
path: "${{github.repository}}.wiki" path: wiki
- name: Debug
run: |
pwd
ls -al
- name: Set Up Python - name: Set Up Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
...@@ -35,16 +29,16 @@ jobs: ...@@ -35,16 +29,16 @@ jobs:
- name: Install Dev Dependencies - name: Install Dev Dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
make dev-env lint-install make -C main dev-env lint-install
- name: Lint Dockerfiles - name: Lint Dockerfiles
run: make lint-all run: make -C main lint-all
- name: Build Docker Images - name: Build Docker Images
run: make build/base-notebook test/base-notebook # build-test-all run: make -C main build-test-all
- name: Run Post-Build Hooks - name: Run Post-Build Hooks
run: make hook/base-notebook #hooks-all run: make -C main hooks-all
env: env:
COMMIT_MSG: "${{github.event.head_commit.message}}" COMMIT_MSG: "${{github.event.head_commit.message}}"
WIKI_PATH: "${{runner.temp}}/${{github.repository}}.wiki" WIKI_PATH: ../wiki
push: push:
name: Push Docker Images name: Push Docker Images
...@@ -54,7 +48,7 @@ jobs: ...@@ -54,7 +48,7 @@ jobs:
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
steps: steps:
- name: Push Images - name: Push Images
run: make push-all run: make -C main push-all
# TODO: doesn't support working directory # TODO: doesn't support working directory
- name: Push Wiki - name: Push Wiki
uses: mikeal/publish-to-github-action@master uses: mikeal/publish-to-github-action@master
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment