Skip to content

Commit

Permalink
Merge pull request #62 from catalyst/add-secrets
Browse files Browse the repository at this point in the history
Add secrets to workflow
  • Loading branch information
dmitriim authored Oct 17, 2024
2 parents dcb3b37 + 3eca06b commit 28ebc1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ on: [push, pull_request]

jobs:
ci:
uses: catalyst/catalyst-moodle-workflows/.github/workflows/ci.yml@main
uses: catalyst/catalyst-moodle-workflows/.github/workflows/ci.yml@main
secrets:
moodle_org_token: ${{ secrets.MOODLE_ORG_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/catalyst/moodle-tool_webanalytics/ci/master)
![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/catalyst/moodle-tool_webanalytics/ci.yml?branch=MOODLE_401_STABLE&label=ci)


# Web Analytics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class before_standard_head_html_generation {
/**
* Render tracking code.
*
* @param \core\hook\output\standard_head_html_generation $hook
* @param \core\hook\output\before_standard_head_html_generation $hook
*/
public static function callback(\core\hook\output\before_standard_head_html_generation $hook): void {
$hook->add_html(injector::render_tracking_code());
Expand Down

0 comments on commit 28ebc1a

Please sign in to comment.