diff --git a/.github/workflows/deploy_pages.yaml b/.github/workflows/deploy_pages.yaml index 5e8411697c..59b7a82443 100644 --- a/.github/workflows/deploy_pages.yaml +++ b/.github/workflows/deploy_pages.yaml @@ -2,7 +2,8 @@ name: Build static pages, trigger GitHub Pages deployment on: push: - branches: [ pyladies-en-vienna ] + #change branch name to trigger deployment. + branches: [ sudan-house ] permissions: contents: write @@ -20,23 +21,23 @@ jobs: # Build base image - name: Build docker image - run: docker build . -t naucse-python + run: docker build . -t sudan-house # Generate static files for website, always exits with code 1 :( - name: Generate static files via freeze run: | - docker run --name naucse naucse-python pipenv run freeze || true + docker run --name naucse sudan-house pipenv run freeze || true - name: Copy out static from the container run: | docker cp naucse:/root/.local/share/virtualenvs/-x-v5uFv0/src/naucse/naucse/_build naucse_build if [ -z "$(ls -A naucse_build)" ]; then echo 'Build folder empty, probably a failure in build due to syntax error. Check logs of the run. Aborting.' - exit 1 + exit 1 else echo 'Content Exists' fi - echo "pyladies.at" > naucse_build/CNAME + echo "sudan-house-training.at" > naucse_build/CNAME - name: Deploy github pages uses: JamesIves/github-pages-deploy-action@v4 diff --git a/Pipfile b/Pipfile index 4d50a9ab58..2e3bb6bba6 100644 --- a/Pipfile +++ b/Pipfile @@ -9,8 +9,8 @@ serve = "python -m naucse serve" freeze = "python -m naucse freeze" [packages] -naucse = {git = "https://github.com/lubojr/naucse.git", editable = true, ref = "085660977b588c3f06c6f79291cee578245af0ae"} -naucse-render = {git = "https://github.com/lubojr/naucse_render.git", editable = true, ref = "f7b93eb979f119a02f8a532892c8ef381e01477f"} +naucse = {git = "https://github.com/baloola/naucse.git", editable = true, ref = "english-test"} +naucse-render = {git = "https://github.com/baloola/naucse_render.git", editable = true, ref = "master"} pygments-pytest = "*" [requires]