Skip to content

Commit

Permalink
CI tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
MotoLegacy committed Jun 19, 2024
1 parent 73fcb83 commit ba8060b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-to-neocities.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down

0 comments on commit ba8060b

Please sign in to comment.