Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub packages #24

Merged
merged 18 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/build-chart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build and release chart

on:
push:
branches: [ "main", "github-packages" ]

jobs:
build:
runs-on: ubuntu-latest

permissions:
contents: write
packages: write

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"

- name: Install Helm
uses: azure/setup-helm@v3

- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
File renamed without changes.
1 change: 1 addition & 0 deletions IguideME.Web/Controllers/DataController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ protected int GetCourseID()
// tmp for brightspace until we have an environment
// return 83337;
// returns the ID of course in which the IguideME instance is loaded
_logger.LogInformation("User identity: {}", User.Identity);
return int.Parse((User.Identity as ClaimsIdentity).FindFirst("courseid").Value);
}

Expand Down
Loading
Loading