Skip to content

Commit

Permalink
ci: write version.json for dev site
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelRauber committed Dec 21, 2023
1 parent 538408c commit cf22fbe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
path: |
src-tauri/target/debug/bundle/
deploy-pages:
deploy-dev-site:
runs-on: ubuntu-latest
needs:
- build-tauri
Expand All @@ -74,6 +74,12 @@ jobs:
with:
node-version: 18
- run: npm ci
- name: write version.json
uses: jsdaniell/[email protected]
with:
name: version.json
json: '{ "version": "0.0.0-dev.${{ github.run_number }}", "sha": "${{ github.sha }}" }'
dir: src/assets
- run: npm run build -- --base-href=/tipis-pap-tools/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit cf22fbe

Please sign in to comment.