Skip to content

Commit

Permalink
chore: archival of version 0.25, part 2: automated steps (#2166)
Browse files Browse the repository at this point in the history
* archiving: delete version version-0.26

* archiving: delete version version-1.0

* archiving: delete version version-1.1

* archiving: delete version version-1.2

* archiving: delete version version-1.3

* archiving: delete version version-8.0

* archiving: delete version version-8.1

* archiving: delete version version-8.2

* archiving: delete version version-8.2

* archiving: exclude all other versions from the version file

* archiving: prevent unsupported site from being crawled

* archiving: fix Dockerfile for local debugging
  • Loading branch information
pepopowitz authored Jun 5, 2023
1 parent 8e965f2 commit df3ade0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
FROM httpd:alpine

RUN rm -r /usr/local/apache2/htdocs/*
COPY /build /usr/local/apache2/htdocs/
COPY /build /usr/local/apache2/htdocs/0.25/

# Remove SSL requirement
RUN sed -i \
'/SERVER_PORT/d;/SERVER_NAME/d' \
/usr/local/apache2/htdocs/.htaccess
/usr/local/apache2/htdocs/0.25/.htaccess

# Enable the rewrite module
RUN sed -i \
Expand Down
2 changes: 2 additions & 0 deletions static/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Disallow: /
2 changes: 1 addition & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["8.2", "8.1", "8.0", "1.3", "1.2", "1.1", "1.0", "0.26", "0.25"]
["0.25"]

0 comments on commit df3ade0

Please sign in to comment.