mirror of
https://github.com/yeicor-3d/yet-another-cad-viewer.git
synced 2025-12-19 22:24:17 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed9251faac | ||
|
|
49d0afa616 | ||
|
|
844860ee1a |
7
.github/workflows/deploy1.yml
vendored
7
.github/workflows/deploy1.yml
vendored
@@ -3,12 +3,19 @@ on:
|
|||||||
tags:
|
tags:
|
||||||
- "v**"
|
- "v**"
|
||||||
|
|
||||||
|
permissions: # Same as deploy2.yml
|
||||||
|
contents: "write"
|
||||||
|
pages: "write"
|
||||||
|
id-token: "write"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
update-versions:
|
update-versions:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: "actions/checkout@v4"
|
- uses: "actions/checkout@v4"
|
||||||
|
with: # Ensure we are not in a detached HEAD state
|
||||||
|
ref: "master"
|
||||||
- run: "echo 'CLEAN_VERSION=${{ github.ref }}' | sed 's,refs/tags/v,,g' >> $GITHUB_ENV"
|
- run: "echo 'CLEAN_VERSION=${{ github.ref }}' | sed 's,refs/tags/v,,g' >> $GITHUB_ENV"
|
||||||
# Write the new version to package.json
|
# Write the new version to package.json
|
||||||
- uses: "actions/setup-node@v4"
|
- uses: "actions/setup-node@v4"
|
||||||
|
|||||||
1
.github/workflows/deploy2.yml
vendored
1
.github/workflows/deploy2.yml
vendored
@@ -21,7 +21,6 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
rebuild: # Makes sure all artifacts are updated and use the new version
|
rebuild: # Makes sure all artifacts are updated and use the new version
|
||||||
needs: "update-versions"
|
|
||||||
uses: "./.github/workflows/build.yml"
|
uses: "./.github/workflows/build.yml"
|
||||||
with:
|
with:
|
||||||
ref: "${{ inputs.ref }}"
|
ref: "${{ inputs.ref }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user