From 5752372dd2a1d21dabdbc18608f13971b577bd00 Mon Sep 17 00:00:00 2001 From: Ville Brofeldt <33317356+villebro@users.noreply.github.com> Date: Thu, 24 Feb 2022 14:01:26 +0200 Subject: [PATCH] refactor(docs): clean up deploy of static files (#18923) --- .github/workflows/superset-docs.yml | 1 - docs/package.json | 1 - docs/static/{resources => }/.asf.yaml | 0 docs/static/{resources => }/.htaccess | 0 4 files changed, 2 deletions(-) rename docs/static/{resources => }/.asf.yaml (100%) rename docs/static/{resources => }/.htaccess (100%) diff --git a/.github/workflows/superset-docs.yml b/.github/workflows/superset-docs.yml index 0a4ea6fa0..f1cc08f9f 100644 --- a/.github/workflows/superset-docs.yml +++ b/.github/workflows/superset-docs.yml @@ -27,7 +27,6 @@ jobs: - name: yarn build run: | yarn build - yarn copy-www-site-files - name: deploy docs if: github.ref == 'refs/heads/master' uses: ./.github/actions/github-action-push-to-another-repository diff --git a/docs/package.json b/docs/package.json index c1b83a680..17b98b0be 100644 --- a/docs/package.json +++ b/docs/package.json @@ -4,7 +4,6 @@ "private": true, "license": "Apache-2.0", "scripts": { - "copy-www-site-files": "cp static/resources/.asf.yaml static/resources/.htaccess build/", "docusaurus": "docusaurus", "start": "docusaurus start", "build": "docusaurus build", diff --git a/docs/static/resources/.asf.yaml b/docs/static/.asf.yaml similarity index 100% rename from docs/static/resources/.asf.yaml rename to docs/static/.asf.yaml diff --git a/docs/static/resources/.htaccess b/docs/static/.htaccess similarity index 100% rename from docs/static/resources/.htaccess rename to docs/static/.htaccess