Skip to content

Commit

Permalink
update deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlevin committed Oct 25, 2024
1 parent b75ca15 commit 356c237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Update schema
run: |
node scripts/update-schema.js
node ./scripts/getSchemas.js
- name: Package
run: vsce package ${{ inputs.level }}
Expand Down
2 changes: 1 addition & 1 deletion scripts/getSchemas.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const fs = require('fs');
const path = require('path');
const https = require('https');

const pretextSchemas = ["https://raw.githubusercontent.com/PreTeXtBook/pretext-cli/refs/heads/main/schema/project-ptx.rng", "https://raw.githubusercontent.com/PreTeXtBook/pretext/refs/heads/master/schema/pretext.rng", "https://raw.githubusercontent.com/PreTeXtBook/pretext/refs/heads/master/schema/pretext-dev.rng"];
const pretextSchemas = ["https://raw.githubusercontent.com/PreTeXtBook/pretext-cli/refs/heads/main/schema/project-ptx.rng", "https://raw.githubusercontent.com/PreTeXtBook/pretext/refs/heads/master/schema/publication-schema.rng","https://raw.githubusercontent.com/PreTeXtBook/pretext-cli/refs/heads/main/schema/project-ptx.rng", "https://raw.githubusercontent.com/PreTeXtBook/pretext/refs/heads/master/schema/pretext-dev.rng"];

for (let schema of pretextSchemas) {
const filename = path.basename(schema);
Expand Down

0 comments on commit 356c237

Please sign in to comment.