Skip to content

Commit

Permalink
use baloola repos
Browse files Browse the repository at this point in the history
  • Loading branch information
baloola committed Aug 21, 2024
1 parent b73bab3 commit 88988d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 88988d6

Please sign in to comment.