Skip to content

Commit

Permalink
temp: try publish stage reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikmonsen committed Jan 13, 2025
1 parent ca0ed2a commit 50397e2
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
with:
ENVIRONMENT: "stage"
NODE_VERSION: "20.17.0"
BUILD_OUTPUT_PATH: ".next"
SET_ENV: true
secrets:
VAULT_URL: ${{ secrets.VAULT_URL }}
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/publish-stage-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
branches:
- "**"
pull_request:
branches:
- "main"
#on:
# push:
# branches:
# - "main"

jobs:
build-and-deploy:
uses: NationalLibraryOfNorway/tekst-workflows/.github/workflows/node-build-and-deploy.yml@feat/node-workflows
with:
ENVIRONMENT: "stage"
NODE_VERSION: "20.17.0"
SET_ENV: true
BUILD_OUTPUT_PATH: ".next"
secrets:
VAULT_URL: ${{ secrets.VAULT_URL }}
VAULT_SECRET_PATH: kv/team/text/data
VAULT_ROLE_ID: ${{ secrets.VAULT_ROLE_ID }}
VAULT_SECRET_ID: ${{ secrets.VAULT_SECRET_ID }}

0 comments on commit 50397e2

Please sign in to comment.