mirror of
https://github.com/nzp-team/documentation.git
synced 2024-11-23 04:21:54 +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
|
||||
on: [push]
|
||||
# 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.
|
||||
on:
|
||||
|
@ -21,10 +20,12 @@ jobs:
|
|||
# This example uses a Node.js toolchain to build a site
|
||||
- name: Install Pandoc
|
||||
run: |
|
||||
apt update && apt install -y pandoc
|
||||
sudo apt update
|
||||
sudo apt install -y pandoc
|
||||
- name: Build Page
|
||||
working-directory: ./
|
||||
run: |
|
||||
sudo -i
|
||||
./generate_docs.sh
|
||||
# When the dist_dir is ready, deploy it to neocities
|
||||
- name: Deploy to neocities
|
||||
|
|
Loading…
Reference in a new issue