mirror of
https://github.com/morten-olsen/bob.git
synced 2026-02-08 01:46:29 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
732e47ceed |
12
.github/workflows/release-package.yml
vendored
12
.github/workflows/release-package.yml
vendored
@@ -44,12 +44,10 @@ jobs:
|
|||||||
packages/*/package.json
|
packages/*/package.json
|
||||||
package.json
|
package.json
|
||||||
README.md
|
README.md
|
||||||
- uses: actions/upload-artifact@v3
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-pages-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: web
|
path: './packages/playground/dist'
|
||||||
retention-days: 5
|
|
||||||
path: |
|
|
||||||
packages/playground/dist
|
|
||||||
update-release-draft:
|
update-release-draft:
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
needs: build
|
needs: build
|
||||||
@@ -76,11 +74,11 @@ jobs:
|
|||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Setup Pages
|
||||||
|
uses: actions/configure-pages@v3
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v2
|
uses: actions/deploy-pages@v2
|
||||||
with:
|
|
||||||
artifact_name: web
|
|
||||||
|
|
||||||
release-npm:
|
release-npm:
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
|
|||||||
Reference in New Issue
Block a user