mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Fix pr preview vulnerability (#5461)
* Closes #5458 * [x] I have followed the instructions in the PR template
This commit is contained in:
6
.github/workflows/preview_deploy.yml
vendored
6
.github/workflows/preview_deploy.yml
vendored
@@ -40,11 +40,7 @@ jobs:
|
||||
- name: Parse meta.json
|
||||
run: |
|
||||
echo "PR_NUMBER=$(jq -r .pr_number meta.json)" >> $GITHUB_ENV
|
||||
echo "PR_BRANCH=$(jq -r .pr_branch meta.json)" >> $GITHUB_ENV
|
||||
|
||||
- name: Url slug variable
|
||||
run: |
|
||||
echo "URL_SLUG=${{ env.PR_NUMBER }}-${{ env.PR_BRANCH }}" >> $GITHUB_ENV
|
||||
echo "URL_SLUG=$(jq -r .url_slug meta.json)" >> $GITHUB_ENV
|
||||
|
||||
- name: Deploy
|
||||
uses: JamesIves/github-pages-deploy-action@v4
|
||||
|
||||
Reference in New Issue
Block a user