@@ -3,15 +3,15 @@ name: Deploy π IMCF π¬ pages and API docs
33on :
44 # Run on pushes targeting the default branch.
55 push :
6- branches : ["main"]
6+ branches : [ "main" ]
77
88 # Allow to run this workflow manually from the Actions tab.
99 workflow_dispatch :
1010
1111 # Listen to dispatch events through the GitHub API. Can be used to trigger
1212 # this workflow from other repositories / actions.
1313 repository_dispatch :
14- types : [dispatch-event]
14+ types : [ dispatch-event ]
1515
1616# Set permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1717permissions :
@@ -31,8 +31,6 @@ defaults:
3131 run :
3232 shell : bash
3333
34-
35-
3634jobs :
3735
3836 # apidocs:
@@ -50,45 +48,45 @@ jobs:
5048 # HUGO_VERSION: 0.128.0
5149
5250 steps :
53- # - name: Install Hugo CLI
54- # run: |
55- # wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
56- # && sudo dpkg -i ${{ runner.temp }}/hugo.deb
57- # - name: Install Dart Sass
58- # run: sudo snap install dart-sass
59- - name : π₯ Checkout
60- uses : actions/checkout@v4
61- # with:
62- # submodules: recursive
63-
64- - name : π Setup Pages
65- id : pages
66- uses : actions/configure-pages@v5
67-
68- # - name: Install Node.js dependencies
69- # run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
70-
71- # - name: Build with Hugo
72- # env:
73- # HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
74- # HUGO_ENVIRONMENT: production
75- # run: |
76- # hugo \
77- # --minify \
78- # --baseURL "${{ steps.pages.outputs.base_url }}/"
79-
80- - name : π Set up Python
81- uses : actions/setup-python@v5.3.0
82- with :
83- python-version : " 3.10"
84-
85- - name : πͺπ§π¨ Build API docs
86- run : scripts/buildall-apidocs
87-
88- - name : π€ Upload artifact
89- uses : actions/upload-pages-artifact@v3
90- with :
91- path : ./PUBLIC
51+ # - name: Install Hugo CLI
52+ # run: |
53+ # wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
54+ # && sudo dpkg -i ${{ runner.temp }}/hugo.deb
55+ # - name: Install Dart Sass
56+ # run: sudo snap install dart-sass
57+ - name : π₯ Checkout
58+ uses : actions/checkout@v4
59+ # with:
60+ # submodules: recursive
61+
62+ - name : π Setup Pages
63+ id : pages
64+ uses : actions/configure-pages@v5
65+
66+ # - name: Install Node.js dependencies
67+ # run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
68+
69+ # - name: Build with Hugo
70+ # env:
71+ # HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache
72+ # HUGO_ENVIRONMENT: production
73+ # run: |
74+ # hugo \
75+ # --minify \
76+ # --baseURL "${{ steps.pages.outputs.base_url }}/"
77+
78+ - name : π Set up Python
79+ uses : actions/setup-python@v5.3.0
80+ with :
81+ python-version : " 3.10"
82+
83+ - name : πͺπ§π¨ Build API docs
84+ run : scripts/buildall-apidocs
85+
86+ - name : π€ Upload artifact
87+ uses : actions/upload-pages-artifact@v3
88+ with :
89+ path : ./PUBLIC
9290
9391 deploy :
9492 runs-on : ubuntu-latest
9896 needs : build
9997
10098 steps :
101- - name : ππ Deploy to GitHub Pages
102- id : deployment
103- uses : actions/deploy-pages@v4
99+ - name : ππ Deploy to GitHub Pages
100+ id : deployment
101+ uses : actions/deploy-pages@v4
0 commit comments