Skip to content

Commit

Permalink
add repository dispatch action
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyr committed Mar 5, 2024
1 parent 0624e0e commit fe0ef34
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["master", "markdowns"]

repository_dispatch:
types: [content_update]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down Expand Up @@ -45,6 +47,12 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
ref: master

- name: log status
run: |
pwd && ls -al
- name: Setup Pages
id: pages
uses: actions/configure-pages@v4
Expand Down
8 changes: 0 additions & 8 deletions content/posts/hello-hugo.md

This file was deleted.

5 changes: 0 additions & 5 deletions content/subjects/test-extra.md

This file was deleted.

0 comments on commit fe0ef34

Please sign in to comment.