mirror of
https://github.com/nzp-team/documentation.git
synced 2024-11-12 23:44:31 +00:00
CI tweaks
This commit is contained in:
parent
73fcb83872
commit
ba8060b375
1 changed files with 3 additions and 2 deletions
5
.github/workflows/deploy-to-neocities.yml
vendored
5
.github/workflows/deploy-to-neocities.yml
vendored
|
@ -1,5 +1,4 @@
|
||||||
name: Deploy to neocities
|
name: Deploy to neocities
|
||||||
on: [push]
|
|
||||||
# https://github.com/marketplace/actions/deploy-to-neocities
|
# https://github.com/marketplace/actions/deploy-to-neocities
|
||||||
# only run on changes to main. Use main or master depending on whatever your default branch is called.
|
# only run on changes to main. Use main or master depending on whatever your default branch is called.
|
||||||
on:
|
on:
|
||||||
|
@ -21,10 +20,12 @@ jobs:
|
||||||
# This example uses a Node.js toolchain to build a site
|
# This example uses a Node.js toolchain to build a site
|
||||||
- name: Install Pandoc
|
- name: Install Pandoc
|
||||||
run: |
|
run: |
|
||||||
apt update && apt install -y pandoc
|
sudo apt update
|
||||||
|
sudo apt install -y pandoc
|
||||||
- name: Build Page
|
- name: Build Page
|
||||||
working-directory: ./
|
working-directory: ./
|
||||||
run: |
|
run: |
|
||||||
|
sudo -i
|
||||||
./generate_docs.sh
|
./generate_docs.sh
|
||||||
# When the dist_dir is ready, deploy it to neocities
|
# When the dist_dir is ready, deploy it to neocities
|
||||||
- name: Deploy to neocities
|
- name: Deploy to neocities
|
||||||
|
|
Loading…
Reference in a new issue