Skip to content

Commit 251a835

Browse files
committed
update tagging workflow
1 parent 0d9dc13 commit 251a835

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
####################################################################
2+
# call.jekyll-ghpages-tagging.yml
3+
####################################################################
4+
# This file is provided as an example of how to call the
5+
# jekyll-ghpages-tagging reusable workflow.
6+
#
7+
# File: call.jekyll-ghpages-tagger.yml
8+
# Author: Ragdata
9+
# Date: 30/06/2024
10+
# License: MIT License
11+
# Copyright: Copyright © 2024 Darren (Ragdata) Poulton
12+
####################################################################
13+
name: Jekyll GitHub-Pages Tagging Workflow
14+
15+
on:
16+
# Allows for manual triggering via Actions tab
17+
workflow_dispatch:
18+
19+
jobs:
20+
call_reusable_workflow:
21+
permissions:
22+
contents: write
23+
uses: ragdata/reusable-workflows/.github/workflows/jekyll-ghpages-tagging.yml@master
24+
with:
25+
posts_dir: "docs/_posts"
26+
tags_dir: "docs/_tags"
27+
tags_layout: "tags"
28+
feeds_dir: "docs/_feeds"
29+
feeds_layout: "feed"
30+
prune_tags: true
31+
secrets:
32+
token: ${{ secrets.github_token }}

.github/workflows/jekyll-ghpages-tagging.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
runs-on: ubuntu-latest
1414
permissions:
1515
contents: write
16-
id-token: write
1716
steps:
1817
- name: Checkout
1918
uses: actions/checkout@v4
@@ -26,4 +25,4 @@ jobs:
2625
feeds_dir: "docs/_feeds"
2726
feeds_layout: "feed"
2827
env:
29-
GITHUB_TOKEN: ${{ github.token }}
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)