This repository has been archived by the owner on Mar 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from DiamondLightSource/test-lockfiles
Multiple fixes.
- Loading branch information
Showing
12 changed files
with
82 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
Dockerfile | ||
build/ | ||
dist/ | ||
.mypy_cache | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,17 +24,20 @@ jobs: | |
|
||
- name: removing documentation for branch ${{ github.event.ref }} | ||
if: ${{ github.event_name != 'workflow_dispatch' }} | ||
run: echo "remove_me=${{ github.event.ref }}" >> $GITHUB_ENV | ||
run: echo "REF_NAME=${{ github.event.ref }}" >> $GITHUB_ENV | ||
|
||
- name: manually removing documentation version ${{ github.event.inputs.version }} | ||
if: ${{ github.event_name == 'workflow_dispatch' }} | ||
run: echo "remove_me=${{ github.event.inputs.version }}" >> $GITHUB_ENV | ||
run: echo "REF_NAME=${{ github.event.inputs.version }}" >> $GITHUB_ENV | ||
|
||
- name: Sanitize ref name for docs version | ||
run: echo "DOCS_VERSION=${REF_NAME//[^A-Za-z0-9._-]/_}" >> $GITHUB_ENV | ||
|
||
- name: update index and push changes | ||
run: | | ||
rm -r ${{ env.remove_me }} | ||
python make_switcher.py --remove ${{ env.remove_me }} ${{ github.repository }} switcher.json | ||
rm -r ${{ env.DOCS_VERSION }} | ||
python make_switcher.py --remove $DOCS_VERSION ${{ github.repository }} switcher.json | ||
git config --global user.name 'GitHub Actions Docs Cleanup CI' | ||
git config --global user.email '[email protected]' | ||
git commit -am"removing redundant docs version ${{ env.remove_me }}" | ||
git commit -am "Removing redundant docs version $DOCS_VERSION" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,4 +64,6 @@ target/ | |
.venv* | ||
venv* | ||
|
||
# further build artifacts | ||
lockfiles/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters