Skip to content

Commit

Permalink
Delete in-situ Sitemap (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
webb-ben committed Aug 3, 2023
1 parent 564265c commit 04d7f39
Show file tree
Hide file tree
Showing 225 changed files with 8 additions and 16,215,656 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

cache-build:
runs-on: ubuntu-latest
needs: [yourls-build, mysql-build]
needs: [containers-build]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -57,10 +57,6 @@ jobs:
name: sitemap
path: build/yourls

- name: Unzip Sitemap
working-directory: ./build/yourls
run: unzip -o sitemap -d sitemap

- name: Commit and Push Changes
uses: EndBug/add-and-commit@v9
with:
Expand All @@ -69,7 +65,7 @@ jobs:

containers-build:
runs-on: ubuntu-latest
needs: [cache-build]
needs: [yourls-build, mysql-build]
permissions:
packages: write
contents: read
Expand Down
2 changes: 1 addition & 1 deletion build/yourls/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM yourls:latest

ENV YOURLS_URL_CONVERT=62 \
YOURLS_PRIVATE_API="true" \
YOURLS_PRIVATE_API="false" \
YOURLS_UNIQUE_URLS="false"

COPY --chown=www-data:www-data db.php /var/www/html/user/db.php
Expand Down
4 changes: 4 additions & 0 deletions build/yourls/Dockerfile-gcp
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM internetofwater/yourls:latest

ENV YOURLS_PRIVATE_API="true" \
YOURLS_NOSTATS="true"
2 changes: 1 addition & 1 deletion build/yourls/plugins/regex-in-urls/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function go_regex(){
return true;
}

yourls_add_action( 'redirect_keyword_not_found', 'try_regex' );
yourls_add_action( 'redirect_keyword_not_found', 'try_regex', 1 );
yourls_add_action( 'infos_keyword_not_found', 'try_regex' );
yourls_add_action( 'redirect_no_keyword', 'try_regex' );
yourls_add_action( 'infos_no_keyword', 'try_regex' );
Expand Down
4,509 changes: 0 additions & 4,509 deletions build/yourls/sitemap/CHyLD/chyld-pilot_ids__0.xml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 04d7f39

Please sign in to comment.