Skip to content

Commit

Permalink
begin work on automatic website updates
Browse files Browse the repository at this point in the history
  • Loading branch information
samtupy committed Apr 29, 2024
1 parent 2a2cb2c commit 2c87445
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/web_update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: website update

on:
workflow_dispatch:

jobs:
web_update:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- name: build
run: |
cd doc
pip3 install -r requirements.txt
cd OSL
python3 make_osl_document.py
cd ..
python3 docgen.py
cd ..
wget -O - https://github.com/cobalt-org/cobalt.rs/releases/download/v0.19.2/cobalt-v0.19.2-x86_64-unknown-linux-gnu.tar.gz|tar -xzf - ./cobalt
cd web
../cobalt build
cd _site
tar -czf ../../_site.tar.gz *
cd ../..
curl -u "${{secrets.CIFTP}}" -s -T _site.tar.gz ftp://nvgt.gg/_site.tar.gz

0 comments on commit 2c87445

Please sign in to comment.