Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8e6b804624
|
No files matched your search
@@ -24,7 +24,7 @@ on:
|
||||
- .gitea/workflows/deploy.yml
|
||||
|
||||
env:
|
||||
PORTAL_RELEASE: v0.6.2
|
||||
PORTAL_RELEASE: v0.5.2
|
||||
INSTANCE: klingenberg-portal
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -9,13 +9,11 @@ jobs:
|
||||
- name: checkout
|
||||
run: |
|
||||
rm -rf checkout && git clone --depth 1 https://prosjekt.klingenbergbygg.no/klingenbergbygg/questions.git checkout
|
||||
# The lint is portal itself (`portal lint`), at the version this
|
||||
# site runs (PORTAL_RELEASE in deploy.yml).
|
||||
- name: lint
|
||||
env:
|
||||
PORTAL_RELEASE: v0.6.2
|
||||
IRIS_RELEASE: v0.5.2
|
||||
run: |
|
||||
curl -sfL "https://project.uhhm.no/uhhm/portal/releases/download/$PORTAL_RELEASE/portal-x86_64-linux" -o portal && chmod +x portal
|
||||
./portal lint --path checkout/questions
|
||||
curl -sfL "https://project.uhhm.no/uhhm/iris/releases/download/$IRIS_RELEASE/iris" -o iris && chmod +x iris
|
||||
./iris check --path checkout/questions
|
||||
- name: reload
|
||||
run: nats --server nats://127.0.0.1:4222 pub portal.content.reload ""
|
||||
Reference in new issue
Block a user