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

View File

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