Skip to content

Commit

Permalink
Try simpler path logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
grugnog committed Jun 24, 2022
1 parent 4d60316 commit 750ce4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,8 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const path = require("path");
const fs = require("fs");
const pages = fs.readFileSync(path.resolve(__dirname, "pages.txt"), 'utf-8');
const pages = fs.readFileSync('pages.txt', 'utf-8');
const urls = [];
pages.split(/\r?\n/).forEach(page => {
urls.push(${{ needs.deploy.outputs.details_url }} + page);
Expand Down

0 comments on commit 750ce4f

Please sign in to comment.