Skip to content

Commit

Permalink
Merge pull request #12 from esciencecenter-digital-skills/update-work…
Browse files Browse the repository at this point in the history
…flow

Update test and deploy workflow
  • Loading branch information
raar1 authored Jun 6, 2024
2 parents 4b14497 + b002c54 commit a723e64
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 8 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Clean install and build check with content (no deployment)

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
deploy_with_NEBULA:
permissions:
contents: write
uses: esciencecenter-digital-skills/NEBULA/.github/workflows/deploy.yml@v1.0.0
with:
content_organization: ${{ github.repository_owner}}
content_repository: ${{ github.event.repository.name }}
content_ref: ${{ github.sha }}
nebula_ref: v1.0.0
deploy_to_ghpages: false
17 changes: 9 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
name: Deploy to gh-pages

on:
[push, release]
env:
NUXT_APP_CDN_URL: https://esciencecenter-digital-skills.github.io/${{ github.event.repository.name }}
release:
types: [published]
workflow_dispatch:

jobs:
deploy_with_NEBULA:
permissions:
contents: write
uses: esciencecenter-digital-skills/NEBULA/.github/workflows/deploy.yml@v0.4.2
uses: esciencecenter-digital-skills/NEBULA/.github/workflows/deploy.yml@v1.0.0
with:
content_organization: esciencecenter-digital-skills
content_organization: ${{ github.repository_owner}}
content_repository: ${{ github.event.repository.name }}
content_ref: ${{ github.ref }}
base_url: ${{ github.event.repository.name }}
nebula_ref: v0.4.2
content_ref: ${{ github.sha }}
nebula_ref: v1.0.0
deploy_to_ghpages: true

0 comments on commit a723e64

Please sign in to comment.