Skip to content

Commit

Permalink
Adapted/fixed CI build to recent changes
Browse files Browse the repository at this point in the history
  • Loading branch information
redtide committed Dec 18, 2023
1 parent ecc52e8 commit 526a167
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
name: Deploy site
on: { push: { branches: [master] } }
on: [push]
permissions:
contents: write
jobs:
deploy:
name: Linux Ubuntu 22.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
# needed for accurate dates and blog plugin
fetch-depth: 0
fetch-depth: 0 # needed for accurate dates and blog plugin
- name: Install Python
uses: actions/setup-python@v4
with:
Expand All @@ -26,8 +25,8 @@ jobs:
- name: Install dependencies
run: poetry install
- name: Download assets
run: poetry run python3 scripts/download.py
run: poetry run python3 scripts/assets/download.py
- name: Build assets
run: poetry run python3 scripts/uglify-assets.py
run: poetry run python3 scripts/assets/uglify.py
- name: Build and deploy
run: poetry run mkdocs gh-deploy --force

0 comments on commit 526a167

Please sign in to comment.