ci: Remove unnecessary env variable from docs workflows

This commit is contained in:
Jonas Platte 2023-04-26 17:38:41 +02:00
parent af2407e98a
commit 44393fe171
No known key found for this signature in database
GPG Key ID: AAA7A61F696C3E0C
2 changed files with 2 additions and 8 deletions

View File

@ -1,8 +1,5 @@
name: Docs Preview name: Docs Preview
env:
CARGO_TERM_COLOR: always
on: on:
workflow_run: workflow_run:
workflows: [CI] workflows: [CI]
@ -34,7 +31,7 @@ jobs:
}); });
let fs = require('fs'); let fs = require('fs');
fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/docs.zip`, Buffer.from(download.data)); fs.writeFileSync(`${process.env.GITHUB_WORKSPACE}/docs.zip`, Buffer.from(download.data));
- name: Unzip artifact - name: Unzip artifact
run: | run: |
unzip docs.zip unzip docs.zip

View File

@ -1,8 +1,5 @@
name: Docs Remove Preview name: Docs Remove Preview
env:
CARGO_TERM_COLOR: always
on: on:
workflow_run: workflow_run:
workflows: [PR Closed] workflows: [PR Closed]
@ -34,7 +31,7 @@ jobs:
} else { } else {
core.setFailed("Could not find PR"); core.setFailed("Could not find PR");
} }
- name: Teardown preview - name: Teardown preview
if: steps.get_pr.outcome == 'success' if: steps.get_pr.outcome == 'success'
continue-on-error: true continue-on-error: true